- # 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 command 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 hexadecimal.
- +|- # 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.
- b
Set the current position to current block position (the block specified
by the last
[+|-] # b
operation).
If it is the last command
on a line, print the first word in the block in hexadecimal.
- cut
Set the current position to the current usage table (cut).
If it is the last command on a line, print the first current
usage table entry.
- dev
Set the current position to the primary device's
configuration record.
If it is the last command on a line,
print the device-configuration record.
- # fset
Set the current position in the file system to the fileset header entry for
the specified fileset index.
Set the current fileset position to the resulting offset.
If it is the last command on a line,
print the specified fileset header.
- +|- # fset
Set the current position in the file system to the fileset header entry
for the specified position relative to the current fileset position.
Set the current fileset position to resulting offset.
If it is the last command on a line,
print the specified fileset header.
- fset
Set the current position in the file system to the current fileset position.
If it is the last command on a line,
print the fileset header for the current fileset.
- # aiau
Set the current position in the file system to the specified attribute inode
allocation unit (aiau) in a fileset. Set the current
attribute inode allocation unit position to the resulting offset.
If it is the last command on a line, print the attribute inode allocation
unit header.
- +|- # aiau
Set the current position in the file system to the specified position relative
to the current attribute inode allocation unit (aiau) position.
Set the current attribute inode allocation unit position
to the resulting offset.
If it is the last command on a line, print the
attribute inode allocation unit header.
- aiau
Set the current position in the file system to the current
attribute inode allocation unit (aiau) position.
If it is the last command on a line,
print the attribute inode allocation unit header.
- # iau
Set the current position in the file system to the specified inode
allocation unit (iau) in a fileset.
Set the current
inode allocation unit position to the resulting offset.
If it is the last command on a line, print the inode allocation
unit header.
- +|- # iau
Set the current position in the file system to the specified position relative
to the current inode allocation unit (iau) position.
Set the current inode allocation unit position
to the resulting offset.
If it is the last command on a line, print the
inode allocation unit header.
- iau
Set the current position in the file system to the current
inode allocation unit (iau) position.
If it is the last command on a line,
print the inode allocation unit header.
- # ai
Set the current position in the current fileset to the ilist entry
for the specified attribute inode.
Set the current attribute inode position to the resulting offset.
If it is the last command on a line,
print the ilist entry for the inode.
- +|- # ai
Set the current position in the current fileset to the ilist entry for the
specified relative attribute inode.
Set the current attribute inode position to the resulting offset.
If it is the last command on a line,
print the ilist entry for the inode.
- ai
Set the current position in the current fileset
to the current attribute inode position.
If it is the last command on a line,
print the ilist entry for the inode.
- # i
Set the current position in the current fileset to the ilist entry
for the specified inode.
Set the current inode position to the resulting offset.
If it is the last command on a line,
print the ilist entry for the inode.
- +|- # i
Set the current position in the current fileset to the ilist entry for the
specified relative inode.
Set the current inode position to the resulting offset.
If it is the last command on a line,
print the ilist entry for the inode.
- i
Set the current position in the current fileset to the current inode position.
If it is the last command on a line,
print the ilist entry for the inode.
- a#
Set the current position to specified offset in blocks specified by the
inode address #.
Addresses 0 through 9 are for direct extents ( de ).
Addresses
10-11 are for indirect extents ( ie ).
The addresses are
displayed when printing an ilist entry.
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.
- im
Set the current position to immediate data area of the current inode.
Set the current block position to the resulting offset.
If it is the last command
on a line, print the first word of the area in hexadecimal.
- attr
Set the current position to attribute data area of the current inode.
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.
- # B|H|W|D =# [#]
Set the current position and change the number at the specified offset
to the given number.
If a double-word offset is specified, then two
numbers separated by a space are required.
The resulting value is printed
in hexadecimal.
- +|-# B|H|W|D =# [#]
Set the current position and change the number at the specified relative offset
to the given number.
If a double-word offset is specified,
then two numbers separated by a space are required.
The resulting value is printed in hexadecimal.
- # B|H|W|D = string
Set the current position and change the characters at the specified offset
to the given string.
The resulting value is printed as a character string.
- +|- # B|H|W|D = string
Set the current position and change the characters at the specified relative
offset to the given string.
The resulting value is printed as a character string.
- olt
Set the current position to the object location table (olt).
If it is the last command on a line, print the object location table.
- p [#] format
Print the contents of the file system at the current offset as the
specified number of entries of a given format.
The allowable print formats are specified above.
If a number of entries to print is not specified,
one entry is printed.
- inode_field = #
Set the contents of the given inode field to the specified number.
The
current inode specifies the inode list entry to be modified.
The symbols
representing inode fields are listed above.
- directory_block_field = #
Set the contents of the given directory block field to the specified
number.
The current block is treated as a directory block and the
offset in that block which is represented by the given field is
changed.
The symbols representing directory block fields are
listed above.
- d#
Set the current directory entry to the specified number.
The current block
is treated as a directory block.
If the current block is an immediate
data area for an inode, then the block is treated as containing
immediate directory entries.
If it is the last command on a line, the
directory entry at the resulting offset is printed.
- directory_entry_field = #
Set the contents of the given directory field to the specified number.
The current directory entry specifies where the directory entry is
located.
The resulting value is printed in hexadecimal.
- nm = string
Set the directory name field of the current directory entry to
the specified string.
The resulting value is printed as a character
string.
- calc # [+|-|*|/ #]
Take a number or the sum, difference, product or dividend of two numbers
and print in decimal, octal, hexadecimal and character format.
- find # B|H|W|D [#]
Search for the given numeric pattern in the file system.
The size of the object to match is specified.
If a double-word is
specified, then two numbers must be given.
The search is
performed forward from the current offset.
A maximum number of blocks
to search can be specified.
If found, the location and value are
printed in hexadecimal.
- find string [#]
Search for the given character string in the file system.
The search is performed forward from the current offset.
A maximum number of blocks to search can 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.