home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
dfsee510.zip
/
dfsjfs.txt
< prev
next >
Wrap
Text File
|
2003-01-14
|
4KB
|
118 lines
Display File Systems; version 5.08 01-01-2003 (c) 1994-2003; Jan van Wijk
----------------------------[ www.dfsee.com ]-------------------------------
C O N T E N T S:
================
Command reference = overview of JFS specific commands
Detailed description = description for every command
C O M M A N D R E F E R E N C E:
==================================
JFS specific commands
Active filesystem : JFS, specific commands are:
ALLOC [+|-] = Display allocation map for JFS, more [+] or less [-] detail
BL = Translate and display 'this' LSN as a block nr
BL block [cmd] = Translate specified block-nr to LSN, display using 'cmd'
DIRTY [d|c|m|#] = Display/set DIRTY, CLEAN, MOUNT status or numeric value #
SYNC 1|2 = Sync superblock, copy from 1st or from 2nd instance
FIXBOOT = Create JFS bootsector from superblock, template and p-table
For an up-to-date list of commands, use the '?' command
JFS specific sector types (see ??? command)
's' = JFS superblock
For an up-to-date list, use the '???" command
D E T A I L E D D E S C R I P T I O N:
========================================
ALLOC [+] = Show aggregate allocation bitmaps, compact or [+] verbose
Purpose: Show usage and the distribution of data over the volume.
Parameters: none
Output: none yet
Remarks: To be implemented
DIRTY [d|c|m|#] = Display/set DIRTY, CLEAN, MOUNT status or numeric value #
Purpose: Modify the JFS volumes 'dirty' state
Parameters: state optional 'clean' will set it clean (no CHKDSK)
'mount' will set it to cleanly mounted
'dirty' will force CHKDSK on reboot
(unless clean shutdown done afterwards)
Output: superblock written confirmation
Remarks: A volume is normally marked 'dirty' by the OS on the first
write access to it, and set 'clean' on successfull shutdown.
This means a hard crash will cause a CHKDSK on reboot
It is most usefull from boot-diskettes (DOS or OS/2)
Usage: Below is an example of the actual usage text
Usage: dirty clean | dirty | decimal-value [1|2]
0 = FS unmounted and clean
1 = FS mounted cleanly
2 = FS is dirty
4 = recovery failed (logredo())
8 = extendfs() in progress
4 & 8 can be combined with others
[1|2] : Update 1st or 2nd superblock only (default is both)
JFS SB1 status is : 1 = Mounted cleanly
FIXBOOT = Create JFS bootsector from superblock, template and p-table
Purpose: Fix corrupted bootsector for a JFS partition
Parameters: none
Output: Progress and confirmation info
Remarks: This will create a valid bootsector based on OS/2 version 4.5
bootsector code and size-info from the partition table and/or
the 1st superblock structure at relative sector 0x40.
The partition-table info (type and size) must still be valid,
or a valid superblock must be present.
SYNC 1|2 = Sync superblock, copy from 1st or from 2nd instance
Purpose: Synchronize the two copies of the JFS superblock
Parameters: from mandatory direction of the sync operation
Output: superblock written confirmation
Remarks: This should only be needed in very rare cases
Usage: Below is an example of the actual usage text
Usage: sync 1 | 2
1 = sync 1st copy at 0x40 to 2nd at 0x78
2 = sync 2nd copy at 0x78 to 1st at 0x40