HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

m
mksf(1M) mksf(1M)
-t Transparent mode, normally used by diagnostics.
-u UC Berkeley-style rewind/close.
-w Wait (disable immediate reporting).
-x index Use the index value to access the tape device driver property table entry. The recog-
nized values for index are decimal values in the range 0 to 30.
-z RTE compatible close.
special-file Put all tape special files in the
/dev/rmt directory. This is required for proper
maintenance of the Tape Property Table (see mt(7)). Device files located outside the
/dev/rmt directory may not provide consistent behavior across system reboots. The
default special file names are dependent on the tape drive being accessed and the
options specified. All default special files begin with
rmt/ccardttargetddevice. See
mt(7) for a complete description of the default special file naming scheme for tapes.
Note
For the following drivers, persistent device special files are made:
esctl, esdisk, estape, eschgr,
c8xx, mpt, side, and td.
Other than these drivers, for all other drivers, legacy device special files are made.
For interface drivers like c8xx, mpt, side, and td the default persistent special files are made in the
/dev directory. These special files follow a driverinstance naming convention, where driver is the driver
name and instance is the instance number assigned by the operating system to the device (see ioscan(1M)).
RETURN VALUE
mksf exits with one of the following values:
0 Successful completion.
1 Failure. An error occurred.
DIAGNOSTICS
Most of the diagnostic messages from mksf are self-explanatory. Listed below are some messages deserv-
ing further clarification. Errors cause mksf to abort immediately.
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.
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)).
Couldn’t find driver matching arguments
The specified device could not find the driver that matches the arguments passed.
EXAMPLES
Make a special file named /dev/printer for the line printer device associated with instance number 2.
HP-UX 11i Version 3: February 2007 9 Hewlett-Packard Company 523