Print this page
10057 Man page misspellings ouput particuliar overriden
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>


  46                                          Override some error conditions.
  47 
  48 
  49                              p=string
  50                                          Set prompt to string.
  51 
  52 
  53                              w
  54                                          Open for write.
  55 
  56 
  57                              ?
  58                                          Display usage.
  59 
  60 
  61 
  62 USAGE
  63        Numbers are considered hexadecimal by default. The user has control
  64        over how data is to be displayed or accepted. The base command displays
  65        or sets the input and output base. Once set, all input defaults to this
  66        base and all output displays in this base. The base can be overriden
  67        temporarily for input by preceding hexadecimal numbers by 0x, preceding
  68        decimal numbers with a 0t, or octal numbers with a 0. Hexadecimal
  69        numbers beginning with a-f or A -F must be preceded with a 0x to
  70        distinguish them from commands.
  71 
  72 
  73        Disk addressing by fsdb is at the byte level. However, fsdb offers many
  74        commands to convert a desired inode, directory entry, block, and so
  75        forth, to a byte address. After the address has been calculated, fsdb
  76        records the result in the current address (dot).
  77 
  78 
  79        Several global values are maintained by fsdb:
  80 
  81            o      Current base (referred to as base)
  82 
  83            o      Current address (referred to as dot)
  84 
  85            o      Current inode (referred to as inode)
  86 
  87            o      Current count (referred to as count)
  88 
  89            o      Current type (referred to as type)


 482        d | D
 483                 Display as decimal shorts or longs.
 484 
 485 
 486        x | X
 487                 Display as hexadecimal shorts or longs.
 488 
 489 
 490 EXAMPLES
 491        Example 1 Using fsdb as a calculator for complex arithmetic
 492 
 493 
 494        The following command displays 2010 in decimal format, and is an
 495        example of using fsdb as a calculator for complex arithmetic.
 496 
 497 
 498          > 2000+400%(20+20)=D
 499 
 500 
 501 
 502        Example 2 Using fsdb to display an i-number in idode fomat
 503 
 504 
 505        The following command displays the i-number 386 in inode format.386
 506        becomes the current inode.
 507 
 508 
 509          > 386:ino?i
 510 
 511 
 512 
 513        Example 3 Using fsdb to change the link count
 514 
 515 
 516        The following command changes the link count for the current inode to
 517        4.
 518 
 519 
 520          > :ln=4
 521 
 522 




  46                                          Override some error conditions.
  47 
  48 
  49                              p=string
  50                                          Set prompt to string.
  51 
  52 
  53                              w
  54                                          Open for write.
  55 
  56 
  57                              ?
  58                                          Display usage.
  59 
  60 
  61 
  62 USAGE
  63        Numbers are considered hexadecimal by default. The user has control
  64        over how data is to be displayed or accepted. The base command displays
  65        or sets the input and output base. Once set, all input defaults to this
  66        base and all output displays in this base. The base can be overridden
  67        temporarily for input by preceding hexadecimal numbers by 0x, preceding
  68        decimal numbers with a 0t, or octal numbers with a 0. Hexadecimal
  69        numbers beginning with a-f or A-F must be preceded with a 0x to
  70        distinguish them from commands.
  71 
  72 
  73        Disk addressing by fsdb is at the byte level. However, fsdb offers many
  74        commands to convert a desired inode, directory entry, block, and so
  75        forth, to a byte address. After the address has been calculated, fsdb
  76        records the result in the current address (dot).
  77 
  78 
  79        Several global values are maintained by fsdb:
  80 
  81            o      Current base (referred to as base)
  82 
  83            o      Current address (referred to as dot)
  84 
  85            o      Current inode (referred to as inode)
  86 
  87            o      Current count (referred to as count)
  88 
  89            o      Current type (referred to as type)


 482        d | D
 483                 Display as decimal shorts or longs.
 484 
 485 
 486        x | X
 487                 Display as hexadecimal shorts or longs.
 488 
 489 
 490 EXAMPLES
 491        Example 1 Using fsdb as a calculator for complex arithmetic
 492 
 493 
 494        The following command displays 2010 in decimal format, and is an
 495        example of using fsdb as a calculator for complex arithmetic.
 496 
 497 
 498          > 2000+400%(20+20)=D
 499 
 500 
 501 
 502        Example 2 Using fsdb to display an i-number in inode fomat
 503 
 504 
 505        The following command displays the i-number 386 in inode format.386
 506        becomes the current inode.
 507 
 508 
 509          > 386:ino?i
 510 
 511 
 512 
 513        Example 3 Using fsdb to change the link count
 514 
 515 
 516        The following command changes the link count for the current inode to
 517        4.
 518 
 519 
 520          > :ln=4
 521 
 522