CSF(1M)
NAME
csf, msf − simplify special file creation
SYNOPSIS
/etc/csf [-r] [-f #] [-c #] dn# [ tty# ] ... dn# [ tty# ]
cd /dev
msf devtype unit [ tty# ]
DESCRIPTION
The csf program creates all of the special files for a device with a single command. The optional ’-r’ specifies that the special files are to be removed instead of created.
The optional ’-f #’ argument causes only the special file for disk partition # to be created or removed. Multiple ’-f’ arguments may not be given.
The ’-c #’ argument specifies the MSCP disk controller number, zero is assumed if the ’-c #’ is omitted.
The dn# argument specifies the device name and unit number. The ’dn’ is the ULTRIX-11 mnemonic for the device, see the ULTRIX-11 System Management Guide, Appendix C for a list of device mnemonics. For all devices, except DL and KL, # is the unit number. For disks and tapes, if the # is omitted the special files for all possible units will be created or removed. For all other devices # must be present. For the KL and DL devices, # is the number of units present.
The optional ’tty#’ specifies the TTY line number associated with the first port on the device. This argument must be given as shown, i.e., the letters ’tty’ followed by the line number. If the ’tty#’ argument is omitted line zero is assumed. If both KL and DL devices are present, then their special files must be created with a single execution of the csf command, for example:
/etc/csf kl4 tty16 dl3 tty20
This is necessary because the starting minor device number for the DL depends on how many KL devices are present. Do not create the special file for the console terminal (KL0).
The msf command is a shell procedure that uses the /etc/csf program to create the special files for a device. The ’devtype’ argument is the generic name of the device, i.e., rp06, ra80, tu16, lp11, dz11, etc. The ’devtype’ takes the form ’devtype_cn’ for disks that can be attached to multiple controllers, ’_cn’ is the controller number. For example, rp06_1 for an RP06 disk on the second RH11/RH70 MASSBUS disk controller, or rx50_2 for an RX50 on the third MSCP disk controller. The ’unit’ argument is the unit number. The ’tty#’ is identical to the tty# used with the csf program, except that is must be present.
FILES
/dev/*
SEE ALSO
mknod(1)
ULTRIX-11 System Management Guide, Sections 1.4 and 2.6.