lssf(1M) — Series 800 Only
NAME
lssf − list a special file
SYNOPSIS
lssf special_file ...
DESCRIPTION
lssf lists information about a special file. For each special_file name, lssf determines the major number of the special file and whether it is block or character (using stat(2)). It then scans the system for the device that is associated with the special file. When the device is found, the minor number of the special file is decoded. A mnemonic description of the minor number is printed on standard output along with the hardware path (i.e., address) of the device. Mnemonics used to describe the fields are closely related to the options used with mksf(1M).
DIAGNOSTICS
Most diagnostic messages from lssf are self explanatory. Listed below are some messages deserving further clarification. Warnings allow lssf to continue.
Warnings
No such device in the system
There is no information about the device in the kernel. The special file is not usable. Use rmsf(1M) to remove the special file.
Character major <major> is not in the kernel
Block major <major> is not in the kernel
The major number associated with the special file is not in the kernel. Use uxgen(1m) to add the appropriate driver to the kernel.
Device driver <name> is not in the kernel
Device class <name> is not in the kernel
The indicated device driver or device class is not present in the kernel. An open(2) of a special file pointing to an unusable device will fail. To make the device usable, the appropriate device driver and/or device class must be added to the uxgen(1M) input file and a new kernel generated. If the device is no longer needed, rmsf(1M) should be used to remove the special files and update /etc/ioconfig.
<special_file> is not a special file
The file is not associated with an I/O device.
EXAMPLES
Suppose a special file is created with the command mksf -d tape1 -H 8.6.1 -l 2 -b 1600 -a mt/2m. The command lssf mt/2m then produces:
tape1 lu 2 bpi 1600 att address 8.6.1 mt/2m
AUTHOR
lssf was developed by HP.
FILES
/dev/config
SEE ALSO
insf(1M), mksf(1M), rmsf(1M), uxgen(1M).
Hewlett-Packard Company — HP-UX Release 8.05: June 1991