United States-English |
|
|
HP-UX Reference > Llssf(1M)HP-UX 11i Version 3: February 2007 |
|
NAMElssf — list a special file DESCRIPTIONIn the first form, 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()). 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 (in other words, address) of the device. Mnemonics used to describe the fields are closely related to the options used with mksf (see mksf(1M)). In the second form, lssf displays the list of stale device special files present in selected directories under the /dev directory. In the third form, lssf executes a Critical Resource Analysis (CRA) on the special_file. Optionslssf recognizes the following options:
DIAGNOSTICSMost diagnostic messages from lssf are self explanatory. Listed below are some messages deserving further clarification. Warnings allow lssf to continue. Warnings
EXAMPLESSuppose a special file is created with the command mksf -d tape2 -H 8.6.1 -b 160 -a rmt/c2t6d0m. The command lssf rmt/c2t6d0m then produces: tape2 instance 2 bpi 160 at address 8.6.1 rmt/c2t6d0m Suppose a special file is created with the command mksf -C disk -H 64000/0xfa00/0x0 -I 11. The command lssf /dev/disk/disk11 then produces: esdisk section 0 at address 64000/0xfa00/0x0 /dev/disk/disk11 Display stale device special files: lssf -s Display Critical Resource Analysis information for /dev/disk/disk7: lssf -c /dev/disk/disk7 |
Printable version | ||
|