Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdffsdb(1M) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sdf(4)

SDFFSDB(1M)  —  HP-UX

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 you with the ability to perform the following functions on the specified SDFdevice:

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

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

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

Integer  input to sdffsdb may 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 enter 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 you 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, then the record can be modified.  If a right curly bracket "}" follows the number, then 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 you 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 you 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 Hewlett-Packard Company. 

SEE ALSO

sdf(4). 

Hewlett-Packard Company  —  May 11, 2021

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