INSF(1M) — Series 800 Only
NAME
insf − install special files
SYNOPSIS
insf [−f devfile] [−N cnode] [−n npty]
insf [−f devfile] [−N cnode] −d cn
insf [−f devfile] [−N cnode] −d diag0
insf [−f devfile] [−N cnode] −d diaghpib1 [−l lu]
insf [−f devfile] [−N cnode] −d disc0 [−l lu]
insf [−f devfile] [−N cnode] −d disc1 [−l lu]
insf [−f devfile] [−N cnode] −d disc2 [−l lu]
insf [−f devfile] [−N cnode] −d display0 [−l lu]
insf [−f devfile] [−N cnode] −d dmem
insf [−f devfile] [−N cnode] −d gpio0 [−l lu]
insf [−f devfile] [−N cnode] −d gpio1 [−l lu]
insf [−f devfile] [−N cnode] −d instr0 [−l lu]
insf [−f devfile] [−N cnode] −d lan0 [−l lu]
insf [−f devfile] [−N cnode] −d lan1 [−l lu]
insf [−f devfile] [−N cnode] −d lpr0 [−l lu]
insf [−f devfile] [−N cnode] −d lpr1 [−l lu]
insf [−f devfile] [−N cnode] −d meas_drivr
insf [−f devfile] [−N cnode] −d mm
insf [−f devfile] [−N cnode] −d mux0 [−l lu]
insf [−f devfile] [−N cnode] −d mux2 [−l lu]
insf [−f devfile] [−N cnode] −d osi0 [−l lu]
insf [−f devfile] [−N cnode] −d pty0 [−n npty]
insf [−f devfile] [−N cnode] −d pty1 [−n npty]
insf [−f devfile] [−N cnode] −d scc1
insf [−f devfile] [−N cnode] −d sw
insf [−f devfile] [−N cnode] −d sy
insf [−f devfile] [−N cnode] −d tape1 [−l lu]
DESCRIPTION
Insf installs special files in the current directory. The −f option specifies devfile, which is a file that describes drivers and pseudo-drivers. This file is generated by uxgen(1M). If the −f option is not given, the file /etc/devices is used.
If the −d option is not entered, insf installs special files for every entry in devfile. The −d option specifies that only special files for a particular driver are to be installed. If the −l option is given, special files for only that logical unit will be installed.
The −N option specifies that the special files are to be created with the associated cnode id; the format of cnode is the same as that given in mknod(1M). If −N is not specified, insf uses the cnode id of the machine on which it is executing.
The −n option only applies to pty special file installation. If it is given, only npty pty special files will be installed; if it is omitted, 48 will be installed.
The file permissions are set by insf. Unless otherwise noted, the owner and group ID are set to bin.
The following sections show which special files are created and their permissions for each driver:
CN
syscon rw− −w− −w−
systty rw− −w− −w−
console rw− −w− −w−
DIAG0
diag0 rw− −−− −−−
DIAGHPIB1
For each logical unit, the following special files are installed:
diag/hpib/hp28650A/lu rw− −−− −−−
DISC0
Special file names for disc0 use the following format: c<lu>d<unit>s<section>. For each logical unit, the following special files are installed:
dsk/c<lu>d0s<section>
sections 0 to 15, group sys, block entry, rw− r−− −−−
rdsk/c<lu>d0s<section>
sections 0 to 15, group sys, character entry, rw− r−− −−−
ct/c<lu>d<unit>s2
units 0 and 1, block entry, rw− rw− rw−
rct/c<lu>d<unit>s2
units 0 and 1, character entry, rw− rw− rw−
diag/dsk/c<lu>d<unit>
units 0 and 1, character entry, rw− −−− −−−
DISC1
Special file names for disc1 use the following format: c<1000+lu>d<unit>s<section>. For each logical unit, the following special files are installed:
dsk/c<1000+lu>d0s<section>
sections 0 to 15, group sys, block entry, rw− r−− −−−
rdsk/c<1000+lu>d0s<section>
sections 0 to 15, group sys, character entry, rw− r−− −−−
ct/c<1000+lu>d<unit>s2
units 0 and 1, block entry, rw− rw− rw−
rct/c<1000+lu>d<unit>s2
units 0 and 1, character entry, rw− rw− rw−
diag/dsk/c<1000+lu>d<unit>
units 0 and 1, character entry, rw− −−− −−−
DISC2
Special file names for disc2 use the following format: c<2000+lu>d<unit>s<section>. For each logical unit, the following special files are installed:
dsk/c<2000+lu>d0s<section>
sections 0 to 15, group sys, block entry, rw− r−− −−−
rdsk/c<2000+lu>d0s<section>
sections 0 to 15, group sys, character entry, rw− r−− −−−
diag/dsk/c<2000+lu>d0
character entry, rw− −−− −−−
DISPLAY0
For each logical unit, the following special files are installed:
crt<lu> rw− rw− rw−
hilkbd<lu> rw− rw− rw−
hil_<lu>.<addr> link addresses 1 to 7, rw− rw− rw−
ttyi<lu> rw− −w− −w−
diag/crt<lu> rw− −−− −−−
DMEM
dmem rw− −−− −−−
GPIO0
For each logical unit, the following special files are installed:
gpio<lu> rw− rw− rw−
diag/gpio<lu> rw− −−− −−−
GPIO1
For each logical unit, the following special files are installed:
gpio<1000+lu> rw− rw− rw−
diag/gpio<1000+lu> rw− −−− −−−
INSTR0
For each logical unit, the following special files are installed:
hpib/<lu> rw− rw− rw−
hpib/<lu>a<addr> addrs 0 to 30, rw− rw− rw−
diag/hpib/<lu> rw− −−− −−−
LAN0/LAN1
For each logical unit, the following special files are installed:
lan<lu> rw− rw− rw−
ether<lu> rw− rw− rw−
diag/lan<lu> rw− −−− −−−
LPR0/LPR1
For each logical unit, the following special files are installed:
lp<lu> owner lp, rw− −−− −−−
diag/lp<lu> rw− −−− −−−
MEAS_DRIVR
meas_drivr rw− rw− rw−
MM
The following special files are installed:
kmem minor 1, group sys, rw− r−− −−−
mem minor 0, group sys, rw− r−− −−−
null minor 2, rw− rw− rw−
MUX0
For each logical unit, the following special files are installed:
tty<lu>p<port> ports 0 to 5, direct connect, rw− −w− −w−
mux<lu> rw− −−− −−−
diag/mux<lu> rw− −−− −−−
MUX2
For each logical unit, the following special files are installed:
tty<lu>p<port> ports 0 to 7, direct connect, rw− −w− −w−
mux<lu> rw− −−− −−−
diag/mux<lu> rw− −−− −−−
OSI0
For each logical unit, the following special files are installed:
osi<lu> rw− rw− rw−
diag/osi<lu> rw− −−− −−−
PTY0
pty<index><number> indices ‘p’ to ‘r’, numbers 0 to f
(hexadecimal), rw− rw− rw−
ptym/pty<index><number> indices ‘a’ to ‘c’ and ‘e’ to ‘z’, numbers 0 to f
(hexadecimal), rw− rw− rw−
ptym/pty<index><number> indices ‘a’ to ‘c’ and ‘e’ to ‘z’, numbers 00 to 99,
rw− rw− rw−
The special files pty[pqr][0-f] are linked to the special files of the same name in the ptym directory.
PTY1
tty<index><number> indices ‘p’ to ‘r’, numbers 0 to f
(hexadecimal), rw− rw− rw−
pty/tty<index><number> indices ‘a’ to ‘c’ and ‘e’ to ‘z’, numbers 0 to f
(hexadecimal), rw− rw− rw−
pty/tty<index><number> indices ‘a’ to ‘c’ and ‘e’ to ‘z’, numbers 00 to 99,
rw− rw− rw−
The special files pty[pqr][0-f] are linked to the special files of the same name in the ptym directory.
SCC1
tty<port> ports ‘a’ and ‘b’, direct connect, rw− −w− −w−
SW
swap group sys, rw− r−− −−−
SY
tty rw− rw− rw−
TAPE1
For each logical unit, the following special files are installed:
mt/<lu>l 800 bpi, block entry, rw− rw− rw−
mt/<lu>m 1600 bpi, block entry, rw− rw− rw−
mt/<lu>h 6250 bpi, block entry, rw− rw− rw−
mt/<lu>ln no rewind, 800 bpi, block entry, rw− rw− rw−
mt/<lu>mn no rewind, 1600 bpi, block entry, rw− rw− rw−
mt/<lu>hn no rewind, 6250 bpi, block entry, rw− rw− rw−
rmt/<lu>l 800 bpi, character entry, rw− rw− rw−
rmt/<lu>m 1600 bpi, character entry, rw− rw− rw−
rmt/<lu>h 6250 bpi, character entry, rw− rw− rw−
rmt/<lu>hc 6250 bpi, compressed, character entry, rw− rw− rw−
rmt/<lu>ln no rewind, 800 bpi, character entry, rw− rw− rw−
rmt/<lu>mn no rewind, 1600 bpi, character entry, rw− rw− rw−
rmt/<lu>hn no rewind, 6250 bpi, character entry, rw− rw− rw−
diag/mt/<lu> character entry, rw− −−− −−−
WARNINGS
Insf should only be run in single-user mode. It may change the mode, owner, or group of an existing special file, or unlink and recreate one; special files that are currently open may be left in an indeterminate state.
AUTHOR
Insf was developed by HP.
FILES
/etc/devices
SEE ALSO
lssf(1M), mknod(1M), mksf(1M), uxgen(1M).
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989