Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mouse@mcgill-vision.UUCP (der Mouse)
Subject: Re: TMSCP interface
Date: 10 Jun 88 09:18:35 GMT	[thread overview]
Message-ID: <1146@mcgill-vision.UUCP> (raw)
In-Reply-To: 424@spock.UUCP

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


      reply	other threads:[~1988-06-10  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-06-04  0:58 TMSCP interface Eric Volpe
1988-06-10  9:18 ` der Mouse [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox