Article View: comp.sys.dec
Article #4979Re: TMSCP interface
From: der Mouse
Date: Fri, 10 Jun 1988 09:18
Date: Fri, 10 Jun 1988 09:18
29 lines
1464 bytes
1464 bytes
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
Technical Details
Message-ID:
<1146@mcgill-vision.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!mouseReferences:
<424@spock.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.sys.dec,comp.unix.wizards Subject: Re: TMSCP interface Keywords: device nums? Message-ID: <1146@mcgill-vision.UUCP> Date: 10 Jun 88 09:18:35 GMT References: <424@spock.UUCP> Distribution: na Organization: McGill University, Montreal Lines: 28