Cover V01, I02
Article
Figure 1
Figure 2
Figure 3
Figure 4
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5
Listing 6
Listing 7
Table 1
Table 2

jul92.tar


Table 2: Variations on fsdb Commands

Command Explanation
386i Prints i-number 386 in inode format. This now becomes the working inode.
ln=4 Changes the link count for the working inode to 4.
ln=+1 Increments the link count by 1.
ic Prints in ASCII block 0 of the file associated with the working inode.
2ifd Prints the first 32 directory entires for the root directory of this file system.
d5ifc Changes the current inode to that associated with the 5th directory entry (which is numbered from zero) found from the above command. The first logical block is then printed in ASCII.
512Bp0o Prints the superblock of this file system in octal.
21a0bd7=3 Changes the i-number for the seventh directory slot in the root directory to 3. This example also shows how to combine several operations into one command.
d7.nm="name" Changes the name field in the directory slot to the given string. Quotes are optional when used with nm if the first character is alphabetic. (It is a good idea to use all of the time.)
a2bp0d Prints the third block of the current inode as directory entries.