Quetion about /dev/iop/plp0 magor device number

Karl Kleinpaste karl at cheops.cis.ohio-state.edu
Fri Jan 12 06:12:36 AEST 1990


OSx4.4 believes in major dev 48 in /etc/makedev and for /dev/iop/plp*.

[93] [2:10pm] tut:/n/dinosaur/0/karl# list /dev/iop/pl*
 4365 c-w--w----  1 lp       12        48,   0 May  4  1988 /dev/iop/plp0
 4366 c-w--w----  1 lp       12        48,  16 May  4  1988 /dev/iop/plp0c
 4367 c-w--w----  1 lp       12        48,  32 May  4  1988 /dev/iop/plp0r
 4368 c-w--w----  1 lp       12        48,   1 May  4  1988 /dev/iop/plp1
 4369 c-w--w----  1 lp       12        48,  17 May  4  1988 /dev/iop/plp1c
 4370 c-w--w----  1 lp       12        48,  33 May  4  1988 /dev/iop/plp1r
[94] [2:10pm] tut:/n/dinosaur/0/karl# egrep plp /etc/makedev
                ioplp 20
                        ioplp=2
                ioplp=*|\
if test "$iocdisk" -o "$ioctape" -o "$ioplp"; then
#       /dev/iop/plp{cont}{r,c}
if test "$ioplp"; then
        parsearg $ioplp
                domknod $dev/iop/plp$nlprnum c 48 $nlprnum 220 lp daemon
                domknod $dev/iop/plp$nlprnum$C c 48 `expr $nlprnum + 16` 220 lp 
daemon
                domknod $dev/iop/plp$nlprnum$R c 48 `expr $nlprnum + 32` 220 lp 
daemon

--Karl



More information about the Comp.sys.pyramid mailing list