* SCSI Special Devices-major/minor numbers?
@ 1996-03-25 5:00 Matthew Lyle
1996-03-26 5:00 ` Mark Bartelt
1996-03-27 5:00 ` Michael Polnick
0 siblings, 2 replies; 3+ messages in thread
From: Matthew Lyle @ 1996-03-25 5:00 UTC (permalink / raw)
I am trying to get an external SCSI device working on my Alpha 3000/500
running Digital Unix 3.2c but have run into some problems with getting
the minor node correct. I calculated a minor node number of 19458 (scsi
bus 1, scsi address 3). When I try to get /usr/field/diskx to test the
disk, it fails saying that it can't open /dev/rrz10a.
Any suggestions as to what I'm doing wrong with this?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SCSI Special Devices-major/minor numbers?
1996-03-25 5:00 SCSI Special Devices-major/minor numbers? Matthew Lyle
@ 1996-03-26 5:00 ` Mark Bartelt
1996-03-27 5:00 ` Michael Polnick
1 sibling, 0 replies; 3+ messages in thread
From: Mark Bartelt @ 1996-03-26 5:00 UTC (permalink / raw)
[ Matthew Lyle ]
| I am trying to get an external SCSI device working on my Alpha 3000/500
| running Digital Unix 3.2c but have run into some problems with getting
| the minor node correct. I calculated a minor node number of 19458 (scsi
| bus 1, scsi address 3). When I try to get /usr/field/diskx to test the
| disk, it fails saying that it can't open /dev/rrz10a.
|
| Any suggestions as to what I'm doing wrong with this?
Well, first of all, 19458 is the minor device number for rz11c, not rz10a.
Doing "man SCSI" will give you all the details you need to calculate these
things from the SCSI bus number, target ID, partition number, etc. Rather
than calculate them yourself, though, an easier approach would be to just ...
cd /dev
./MAKEDEV rz11
... which makes all the special files you need for that device. (You have
to know the "NN" part of "rzNN", but the manpage tells you about that, too.)
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Clothes not busy being worn are busy drying." -- Dylan, on laundry day
[ singing "It's all right, ma (I'm only bleaching)" ]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: SCSI Special Devices-major/minor numbers?
1996-03-25 5:00 SCSI Special Devices-major/minor numbers? Matthew Lyle
1996-03-26 5:00 ` Mark Bartelt
@ 1996-03-27 5:00 ` Michael Polnick
1 sibling, 0 replies; 3+ messages in thread
From: Michael Polnick @ 1996-03-27 5:00 UTC (permalink / raw)
Matthew Lyle (matt@nova.org) wrote:
: I am trying to get an external SCSI device working on my Alpha 3000/500
: running Digital Unix 3.2c but have run into some problems with getting
: the minor node correct. I calculated a minor node number of 19458 (scsi
: bus 1, scsi address 3). When I try to get /usr/field/diskx to test the
: disk, it fails saying that it can't open /dev/rrz10a.
: Any suggestions as to what I'm doing wrong with this?
The easiest way to make devices like disks is:
cd /dev
./MAKEDEV rz11 !11 = 8*SCSI bus + dev-ID
that gives you:
rrz11a: character special (8/19456)
rrz11b: character special (8/19457)
rrz11c: character special (8/19458)
rrz11d: character special (8/19459)
rrz11e: character special (8/19460)
rrz11f: character special (8/19461)
rrz11g: character special (8/19462)
rrz11h: character special (8/19463)
rz11a: block special (8/19456)
rz11b: block special (8/19457)
rz11c: block special (8/19458)
rz11d: block special (8/19459)
rz11e: block special (8/19460)
rz11f: block special (8/19461)
rz11g: block special (8/19462)
rz11h: block special (8/19463)
To check out the disk device try:
file /dev/rrz11a
or use scu
Michael Polnick
PDV-Systeme Sachsen / Germany
polnick@pdv-sachsen.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-03-27 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-25 5:00 SCSI Special Devices-major/minor numbers? Matthew Lyle
1996-03-26 5:00 ` Mark Bartelt
1996-03-27 5:00 ` Michael Polnick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox