HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
f
fsdb_vxfs(1M) fsdb_vxfs(1M)
blocks to search may be specified. If found, the location and value are printed in hexa-
decimal.
find string [#]
Search for the given character string in the file system. The search is performed for-
ward from the current offset. A maximum number of blocks to search may be
specified. If found the location and string are printed.
fmtlog Format all intent log entries. A completely formatted intent log can be quite lengthy.
It is a good idea use the fsdb
command as a filter and redirect the output to a file or
pager to look at a complete log format.
listfset List all filesets by their indexes and names.
mapi # Treat the number as a logical offset in the file described by the current inode, and
print the extent that it maps to.
reset Does the equivalent of exiting fsdb
and restarting on same device.
The following help commands are supported:
h|help Display primary help screen.
h mod Display modification-commands help screen.
h print Display print-commands help screen.
EXAMPLES
386i Prints inumber 386 in an inode format. This now becomes the current working inode.
ln=4 Changes the link count for the working inode to 4.
8192B.p S Prints the super-block of this file system symbolically.
d7.nm = foo Changes the name field in the directory slot to foo.
23i.im.d5 Prints the sixth directory entry in the immediate area of inode 23.
WARNINGS
Always execute fsck(1M) after using the fsdb command to modify a file system (use fsck -o
full,nolog
).
SEE ALSO
fsck_vxfs(1M), fsdb(1M).
HP-UX 11i Version 1: September 2005 − 7 − Hewlett-Packard Company Section 1M−−277