HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
f
fsdb_vxfs(1M) fsdb_vxfs(1M)
ino Inode number
nm Entry name
nmlen Name length
reclen Record length (only if in a data block)
hnext Name hash next (only if in a data block)
It is best to separate each token on a command line with a space. Although the command parser does not
require element separation, there is no ambiguity in the command language if each token is separated with
a space. For example, the command
0x23b b sets the current position to block 0x23b hexadecimal. The
command
0x23bb is invalid, because the command is parsed as simply a hexadecimal number. The com-
mand 23b positions to block 23 decimal, since the command is not ambiguous.
You can separate commands with new lines. You can put multiple commands on one line and separate
them with a dot (.) or a semicolon (
;) If multiple commands are placed on one line, generally only the last
command displays results. This allows positioning commands to be followed by printing commands or
change commands without intermediate printing.
fsdb maintains several positions in the file system:
• current position
• current primary-inode position (i)
• current attribute-inode position (ai)
• current inode type (i or ai)
• current fileset-header position (fset)
• current allocation-unit position (au)
• current primary-inode allocation-unit (iau) position
• current inode allocation-unit type (iau or aiau)
• current attribute-inode allocation-unit (aiau) position
These are used by various fsdb commands. (The au positions are only supported on the Version 2 disk
layout.)
The following commands are supported:
# B|H|W|D Set the current position in the file system to the specified offset in bytes, half-words,
words, or double-words. If it is the last command on a line, print the byte, half-word,
word, or double-words in hexadecimal.
+|- # B|H|W|D
Set the current position to the specified relative offset in bytes, half-words, words, or
double-words. If it is the last command on a line, print the byte, half-word, word, or
double-words in hexadecimal.
#au Set the current position in the file system to the specified allocation unit (au) position.
Set the current allocation unit position to the resulting offset. If it is the last com-
mand on a line, print the allocation unit header.
+|- # au Set the current position in the file system to the specified position relative to the
current allocation unit (au) position. Set the current allocation unit position to the
resulting offset. If it is the last command on a line, print the allocation unit header.
au Set the current position in the file system to the current allocation unit position. If it
is the last command on a line, print the allocation unit header.
#b Set the current position in the file system to the specified offset in blocks. Set the
current block position to the resulting offset. The block size is the block size of the file
system. If it is the last command on a line, print the first word in the block in hexade-
cimal.
+|- # b Set the current position to specified relative offset in blocks. Set the current block
position to the resulting offset. If it is the last command on a line, print the first word
in the block in hexadecimal.
Section 1M−−274 Hewlett-Packard Company − 4 − HP-UX 11i Version 1: September 2005