Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kmknod(8) [osf1 man page]

kmknod(8)						      System Manager's Manual							 kmknod(8)

NAME
kmknod - Creates device special files for static kernel layered products SYNOPSIS
/sbin/kmknod DESCRIPTION
The kmknod command obtains information from a running kernel and determines if any device special files must be created for use by the ker- nel layered products that are statically configured. To enable kmknod to create device special files, the statically configured kernel layered products must have been registered with the kreg command. Note To create device special files for the kernel layered products that are loadable modules, such as loadable device drivers, use the cfgmgr command instead of the kmknod command. The kmknod command first deletes any files that have matching names and any files that have both matching major numbers and matching device types (block or character). After any matching files are deleted, the kmknod command creates all the required device special files. The /etc/inittab file contains instructions to invoke the kmknod command at boot time. You must be superuser to invoke the kmknod command. FILES
Provides the init program with instructions for creating and running initialization processes. SEE ALSO
Commands: kmknod(8), kreg System Administration Writing Device Drivers: Tutorial kmknod(8)

Check Out this Related Man Page

lssf(1M)																  lssf(1M)

NAME
lssf - list a special file SYNOPSIS
special_file ... special_file DESCRIPTION
In the first form, lists information about a special file. For each special_file name, determines the major number of the special file and whether it is block or character (using 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 (see mksf(1M)). In the second form, displays the list of stale device special files present in selected directories under the directory. In the third form, executes a Critical Resource Analysis (CRA) on the Options recognizes the following options: Displays the Critical Resource Analysis (CRA) of Displays the stale device special files present in the directories below, which contain special files for mass storage devices. The stale device special files correspond to nodes that have an entry in the system I/O configuration files but the corresponding device is not found. The device special files can either be legacy or persistent (see intro(7)). DIAGNOSTICS
Most diagnostic messages from are self explanatory. Listed below are some messages deserving further clarification. Warnings allow to continue. Warnings There is no information about the device in the kernel. The special file is not usable. Use to remove the special file (see rmsf(1M)). The major number associated with the special file is not in the kernel. Use to add the appropriate driver to the kernel (see kcmodule(1M)). The indicated device driver or device class is not present in the kernel. An of a special file pointing to an unusable device fails. To make the device usable, the appro- priate device driver and/or device class must be added to the kernel using If the device is no longer needed, should be used to remove the special files and update the system I/O configuration files. The file is not associated with an IO device. EXAMPLES
Suppose a special file is created with the command The command then produces: Suppose a special file is created with the command The command then produces: Display stale device special files: Display Critical Resource Analysis information for /dev/disk/disk7: AUTHOR
was developed by HP. FILES
I/O system special file I/O system configuration database I/O system configuration database SEE ALSO
insf(1M), kcmodule(1M), mksf(1M), rmsf(1M), intro(7). lssf(1M)
Man Page