unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 lssf(1M)							    lssf(1M)




 NAME
      lssf - list a special file

 SYNOPSIS
      /sbin/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 (see 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 to remove the special
		file (see rmsf(1M)).

      Character major <&lt&lt&lt;major>&gt&gt&gt; is not in the kernel
      Block major <&lt&lt&lt;major>&gt&gt&gt; is not in the kernel
		The major number associated with the special file is not in
		the kernel.  Use config to add the appropriate driver to the
		kernel (see config(1M)).

      Device driver <&lt&lt&lt;name>&gt&gt&gt; is not in the kernel
      Device class <&lt&lt&lt;name>&gt&gt&gt; is not in the kernel
		The indicated device driver or device class is not present
		in the kernel.	An open() of a special file pointing to an
		unusable device fails.	To make the device usable, the
		appropriate device driver and/or device class must be added
		to the config input file and a new kernel generated (see
		config(1M)).  If the device is no longer needed, rmsf should
		be used to remove the special files and update
		/etc/ioconfig.

      <&lt&lt&lt;special_file>&gt&gt&gt; 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 tape2 -H
      8.6.1 -b 1600 -a rmt/c2t6d0m.  The command lssf rmt/c2t6d0m then



 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 lssf(1M)							    lssf(1M)




      produces:

	   tape2 instance 2 bpi 1600 att address 8.6.1 rmt/c2t6d0m

 AUTHOR
      lssf was developed by HP.

 FILES
      /dev/config	  I/O system special file

      /etc/ioconfig	  I/O system configuration database

 SEE ALSO
      config(1M), insf(1M), mksf(1M), rmsf(1M).








































 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000