home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / dfsee510.zip / dfsjfs.txt < prev    next >
Text File  |  2003-01-14  |  4KB  |  118 lines

  1.   Display File Systems; version 5.08 01-01-2003  (c) 1994-2003; Jan van Wijk
  2.  ----------------------------[ www.dfsee.com ]-------------------------------
  3.  
  4.  
  5. C O N T E N T S:
  6. ================
  7.  
  8.    Command reference    = overview of JFS specific commands
  9.    Detailed description = description for every command
  10.  
  11.  
  12. C O M M A N D   R E F E R E N C E:
  13. ==================================
  14.  
  15. JFS specific commands
  16.  
  17. Active filesystem : JFS, specific commands are:
  18.  
  19.  ALLOC     [+|-] = Display allocation map for JFS, more [+] or less [-] detail
  20.  BL              = Translate and display 'this' LSN as a block nr
  21.  BL block  [cmd] = Translate specified block-nr to LSN, display using 'cmd'
  22.  DIRTY [d|c|m|#] = Display/set DIRTY, CLEAN, MOUNT status or numeric value #
  23.  SYNC       1|2  = Sync superblock, copy from 1st or from 2nd instance
  24.  FIXBOOT         = Create JFS bootsector from superblock, template and p-table
  25.  
  26.  
  27.  For an up-to-date list of commands, use the '?' command
  28.  
  29.  JFS specific sector types  (see ??? command)
  30.  
  31.              's' = JFS  superblock
  32.  
  33.              For an up-to-date list, use the '???" command
  34.  
  35.  
  36. D E T A I L E D   D E S C R I P T I O N:
  37. ========================================
  38.  
  39. ALLOC  [+]      = Show aggregate allocation bitmaps, compact or [+] verbose
  40.  
  41.  Purpose:       Show usage and the distribution of data over the volume.
  42.  
  43.  Parameters:    none
  44.  
  45.  Output:        none yet
  46.  
  47.  
  48.  Remarks:       To be implemented
  49.  
  50.  
  51.  
  52.  DIRTY [d|c|m|#] = Display/set DIRTY, CLEAN, MOUNT status or numeric value #
  53.  
  54.  Purpose:       Modify the JFS volumes 'dirty' state
  55.  
  56.  Parameters:    state   optional   'clean' will set it clean (no CHKDSK)
  57.                                    'mount' will set it to cleanly mounted
  58.                                    'dirty' will force CHKDSK on reboot
  59.                                     (unless clean shutdown done afterwards)
  60.  
  61.  Output:        superblock written confirmation
  62.  
  63.  Remarks:       A volume is normally marked 'dirty' by the OS on the first
  64.                 write access to it, and set 'clean' on successfull shutdown.
  65.                 This means a hard crash will cause a CHKDSK on reboot
  66.                 It is most usefull from boot-diskettes (DOS or OS/2)
  67.  
  68.  Usage:         Below is an example of the actual usage text
  69.  
  70.                 Usage: dirty  clean | dirty | decimal-value   [1|2]
  71.  
  72.                       0 = FS unmounted and clean
  73.                       1 = FS mounted cleanly
  74.                       2 = FS is dirty
  75.                       4 = recovery failed (logredo())
  76.                       8 = extendfs() in progress
  77.  
  78.                       4 & 8 can be combined with others
  79.  
  80.                   [1|2] : Update 1st or 2nd superblock only (default is both)
  81.  
  82.                 JFS SB1 status is : 1 = Mounted cleanly
  83.  
  84.  
  85.  FIXBOOT         = Create JFS bootsector from superblock, template and p-table
  86.  
  87.  Purpose:       Fix corrupted bootsector for a JFS partition
  88.  
  89.  Parameters:    none
  90.  
  91.  Output:        Progress and confirmation info
  92.  
  93.  Remarks:       This will create a valid bootsector based on OS/2 version 4.5
  94.                 bootsector code and size-info from the partition table and/or
  95.                 the 1st superblock structure at relative sector 0x40.
  96.  
  97.                 The partition-table info (type and size) must still be valid,
  98.                 or a valid superblock must be present.
  99.  
  100.  
  101.  SYNC       1|2  = Sync superblock, copy from 1st or from 2nd instance
  102.  
  103.  Purpose:       Synchronize the two copies of the JFS superblock
  104.  
  105.  Parameters:    from    mandatory  direction of the sync operation
  106.  
  107.  Output:        superblock written confirmation
  108.  
  109.  Remarks:       This should only be needed in very rare cases
  110.  
  111.  Usage:         Below is an example of the actual usage text
  112.  
  113.                 Usage: sync   1 | 2
  114.  
  115.                    1 = sync 1st copy at 0x40 to 2nd at 0x78
  116.                    2 = sync 2nd copy at 0x78 to 1st at 0x40
  117.  
  118.