HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

m
mksf(1M) mksf(1M)
Errors
Ambiguous device specification
Matched more than one device in the system. Use some combination of the
-d, -C, -H, and -I
options to specify a unique device.
No such device in the system
No device in the system matched the options specified. Use
ioscan to list the devices in the system
(see ioscan(1M)).
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. Add the appropriate device
driver and/or device class to the kernel using kcmodule(1M)).
Device has no instance number
The specified device has not been assigned an instance number. Use
ioscan to assign an instance
to the device.
Directory directory doesn’t exist
The directory argument of the -D option doesn’t exist. Use
mkdir to create the directory (see
mkdir(1)).
EXAMPLES
Make a special file named
/dev/printer for the line printer device associated with instance number 2.
mksf -C printer -I 2 /dev/printer
Make a special file, using the default naming convention, for the tape device at hardware path 8.4.1. The
driver-specific options specify 1600 bits per inch and no rewind on close.
mksf -C tape -H 8.4.1 -b D1600 -n
WARNINGS
Many commands and subsystems assume their device files are in /dev; therefore, the use of the
-D
option is discouraged.
AUTHOR
mksf was developed by HP.
FILES
/dev/config I/O system special file
/etc/mtconfig Tape driver property table database
SEE ALSO
mkdir(1), insf(1M), ioscan(1M), kcmodule(1M), lsdev(1M), mknod(1M), rmsf(1M), mknod(2), ioconfig(4),
mknod(5), mt(7).
HP-UX 11i Version 2: August 2003 9 Hewlett-Packard Company Section 1M445