jfs_debugfs is a program which can be used to perform various low-level actions on a JFS formatted device.
device is the special file name corresponding to the actual device to be edited (e.g. /dev/hdb1).
jfs_debugfs must be run as root.
<block> is the block number - given in decimal
<offset> is the offset within that block - given in hexadecimal
<hex_string> is an even-numbered string of hexadecimal digits to write to the disk
SUBCOMMANDS:
l => visit left sibling
m => modify current node
p => visit parent node
r => visit right sibling
[0-9] => visit the n'th child node
x => exit subcommand mode
SUBCOMMANDS:
m => modify entries
x => exit subcommand mode
<inode_number> is the directory's inode - given in decimal
<file_set> currently must be zero
SUBCOMMANDS:
m => modify entries
x => exit subcommand mode
<block> is the block number - given in decimal
<offset> is the offset within <block> - given in hexadecimal
<format>
is one of the following:
a => ascii
b => block allocation map
d => decimal
i => inode
I => inode allocation map
s => superblock
x => hexadecimal
X => extent allocation descriptor
<count> is the number of objects to display - given in decimal
SUBCOMMANDS
m => modify map fields
f => display free count
t => display tree levels
x => exit subcommand mode
<inode_number> is the directory's inode - given in decimal
<file_set> currently must be zero
SUBCOMMANDS
l => visit left sibling
m => modify current node
p => visit parent node (not parent directory)
r => visit right sibling
[0-9] => visit the n'th child node
x => exit subcommand mode
SUBCOMMANDS:
m => modify entries
x => exit subcommand mode
<IAG_number> is given in decimal
a is to use the primary aggregate inode table
s is to use the secondary aggregate inode table
<file_set> currently must be zero
SUBCOMMANDS
e => display/modify inode extents map
m => modify IAG
p => display/modify persistent map
w => display/modify working map
x => exit subcommand mode
<inode_number> is given in decimal
a is to use the primary aggregate inode table
s is to use the secondary aggregate inode table
<file_set> currently must be zero
SUBCOMMANDS
a => display/modify inode's ACL
m => modify inode
x => exit subcommand mode
SUBCOMMANDS
m => modify journal log superblock
x => exit subcommand mode
<variable> must begin with an alphabetic character
p displays the primary superblock
s displays the secondary superblock
SUBCOMMANDS:
m => modify entries
x => exit subcommand mode
p displays the primary superblock
s displays the secondary superblock
SUBCOMMANDS:
m => modify entries
x => exit subcommand mode
<inode_number> is the directory's inode - given in decimal
<file_set> currently must be zero
SUBCOMMANDS
l => visit left sibling
m => modify current node
p => visit parent node (not parent directory)
r => visit right sibling
[0-9] => visit the n'th child node
x => exit subcommand mode
If you find a bug in JFS or jfs_debugfs, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:
http://jfs.sourceforge.net/
Please send as much pertinent information as possible, including the complete output of running jfs_fsck with the -v and -n options on the JFS device.
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr.jfs_debugfs is maintained by IBM.
See the JFS project web site for more details: http://jfs.sourceforge.net/