* Re: TMSCP interface
1988-06-04 0:58 TMSCP interface Eric Volpe
@ 1988-06-10 9:18 ` der Mouse
0 siblings, 0 replies; 2+ messages in thread
From: der Mouse @ 1988-06-10 9:18 UTC (permalink / raw)
In article <424@spock.UUCP>, eric@spock.UUCP (Eric Volpe) writes:
> does anybody know the major/minor device numbers for a TMSCP style
> tape drive (on a VAX, 4.3BSD)?
Check /sys/vax/conf.c. From ours, which is mtXinu 4.3+NFS:
bdevsw:
{ tmscpopen, tmscpclose, tmscpstrategy, tmscpdump, /* 15 */
0, B_TAPE },
cdevsw:
tmscpopen, tmscpclose, tmscpread, tmscpwrite, /* 38 */
tmscpioctl, nodev, tmscpreset, 0,
seltrue, nodev,
So our major number is 15 for the block device and 38 for the raw
device; your major numbers will probably be the same, but it's a good
idea to check. The minor number will presumably be 0, 4, 8, or 12 for
/dev/[r]mt0, /dev/[r]mt4, /dev/[r]mt8, or /dev/[r]mt12.
> Actually, its not a tape but a WORM disk imitating one, but that
> shouldn't make any difference at all.
As long as it uses the same driver, no. And I believe that driver can
be used by anything that speaks tmscp.
der Mouse
uucp: mouse@mcgill-vision.uucp
arpa: mouse@larry.mcrcim.mcgill.edu
^ permalink raw reply [flat|nested] 2+ messages in thread