Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdffsdb(1M) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sdf(4)

sdffsdb(1M)

NAME

sdffsdb − examine/modify an SDF file system

SYNOPSIS

sdffsdb SDFdevice

DESCRIPTION

sdffdsb is intended to mimic the Series 500 implementation of fsdb. 

sdffsdb provides a means for performing the following functions on the specified SDFdevice:

• Find the inode number of a file, given its full path name. 

• Examine and modify the contents of the superblock (volume header). 

• Examine and modify the contents of any inode or other file attribute. 

Integer input to sdffsdb can be entered in decimal (default), octal (with a preceding 0), or hexadecimal (with a preceding 0x). 

SDFdevice is a raw or block special file describing the device on which the SDF file system is located. 

sdffsdb execution is interactive.  Prompts consist of requests for the needed information.  When execution begins, sdffsdb displays the following menu:

1 - find inode numbers.
2 - examine superblock.
3 - examine inodes.
q - quit.

after which you are requested to choose one of the options shown. 

Typing 1 causes sdffsdb to accept full pathnames of files (relative to the door directory of the SDF file system); it returns the corresponding inode number.  Typing q returns to the main menu. 

Typing 2 displays the contents of each record in the superblock.  Each record is numbered.  If a right parenthesis ) follows the number, the record can be modified.  If a right curly bracket } follows the number, the record cannot be modified.  You are then asked whether or not you want to modify the superblock.  An answer beginning with n sends you back to the menu; an answer beginning with y causes sdffsdb to ask for the record number to be modified.  If the record number specified cannot be modified, you are told about it, and prompted for another record number.  If you specify a record number which can be changed, you are prompted for the new data.  Typing q returns to the main menu. 

Typing 3 causes sdffsdb to prompt you for a file attribute record number.  Upon receipt of a valid number, the contents of that record are displayed, and you are prompted for the information you want to change.  Parentheses and curly brackets have the same meanings as described above.  Typing q returns to the main menu. 

Typing q at the main menu level terminates the sdffsdb command. 

WARNINGS

sdffsdb is deceptively easy to use, and therefore should be used with extreme care.  Be sure you know what you are doing before you enter too deeply into options 2 or 3.  You are given the opportunity to abort any operation before you have changed anything (by typing q), so consider carefully what you are about to do before you do it.  sdffsdb does not provide an "undo" function, and the changes you make are immediate. 

sdffsdb cannot examine devices with a logical block size greater than 4096. 

AUTHOR

sdffsdb was developed by the HP. 

SEE ALSO

sdf(4). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026