[comp.sys.hp] comp.hp.wizards: how does fsdb work ?

corrigan@weber.ucsd.edu (Michael J. corrigan) (05/10/91)

	I am attempting to use fsdb to examine HFS filesystems and
have gotten stuck at the point of trying to display the fragments
associated with "blocks" after the 1st block, a0.
The syntax I am using would look like ( say an 8k/1k frag filesystem)

2i.fd  to display the entries in the fileystem root
52i    to display the the inode data for inum 52,say it a data file.
fc
f1c
...  to display the data in the 1st,2nd frags of inum 52.

However, when I try to display the data from the second block I
keep getting the fragments from the first block. Here I use syntax
like:

a1.fc
a1b.fc
f9c

and even just typing in the block address for a1: say 22789
22789.fc

I can never seem to get past the first block of the file.
Either I haven't understood TFM or ...???

Any suggestions via email would be appreciated.

(other than
open("/dev/rdsk...");lseek(fd,SBSIZE,0);read(fd,,sizeof(struct fs));...
)

Thanks,
Michael J. Corrigan
corrigan@ucsd.edu