Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lssf(1M) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mksf(1M)

insf(1M)

LSSF(1M)  —  Series 800 Only

NAME

lssf − list a special file

SYNOPSIS

lssf [-f devfile] path... 

DESCRIPTION

Lssf lists a special file. The -f option specifies devfile, which is a file that describes drivers and pseudo-drivers. This file is generated by uxgen(1M). If the -f option is not present, then the file /etc/devices is used. 

For each path, lssf determines the major number of the special file and whether it is block or character (using stat(2)). Lssf scans devfile for the driver which matches the major number of the special file. When the driver is found, the minor number of the special file is decoded and a mnemonic description is printed on standard output. The mnemonics used to describe the minor number fields are closely related to the options used with mksf(1M) which makes a special file.

As an example, suppose a special file is created with the command

mksf -d disc0 -l 1 -u 2 -s 3 dsk/c1d2s3

The command

lssf dsk/c1d2s3

would then produce the output:

disc0 lu 1 unit 2 section 3 dsk/c1d2s3

AUTHOR

Lssf was developed by HP. 

FILES

/etc/devices

SEE ALSO

mksf(1M), insf(1M). 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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