Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* device name for a CD-RW drive
@ 2001-02-08 14:07 andy thomas
  2001-02-08 15:31 ` Nick Hill
  0 siblings, 1 reply; 5+ messages in thread
From: andy thomas @ 2001-02-08 14:07 UTC (permalink / raw)


I've added an HP CD-RW drive to a PWS 500au but I don't know what the
device name would be. It's on the SCSI bus - the exiting IDE CDROM is
accessible via /dev/rz8c.

Any ideas?

Andy



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: device name for a CD-RW drive
  2001-02-08 14:07 device name for a CD-RW drive andy thomas
@ 2001-02-08 15:31 ` Nick Hill
  2001-02-28 16:44   ` andy thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Hill @ 2001-02-08 15:31 UTC (permalink / raw)




andy thomas wrote:
> 
> I've added an HP CD-RW drive to a PWS 500au but I don't know what the
> device name would be. It's on the SCSI bus - the exiting IDE CDROM is
> accessible via /dev/rz8c.
> 

As you quote /dev/rz8c as an existing device I am assuming you are on a
version of the OS prior to V5. In this case the device name is derived
from the SCSI bus it is connected to and the SCSI id of the drive on
that bus. The device number is Bus*8+deviceID. You may need to use
MAKEDEV to make the device or use perhaps 

scsimgr -scan_all

If the device file has been created then the file command can be used to
show what they all are:

file /dev/rrz*c

should show you


Nick Hill
ITD SCS Group
Rutherford Appleton Labs
UK


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: device name for a CD-RW drive
  2001-02-08 15:31 ` Nick Hill
@ 2001-02-28 16:44   ` andy thomas
  2001-02-28 22:48     ` Oisin McGuinness
  0 siblings, 1 reply; 5+ messages in thread
From: andy thomas @ 2001-02-28 16:44 UTC (permalink / raw)




On Thu, 8 Feb 2001, Nick Hill wrote:

>
>
> andy thomas wrote:
> >
> > I've added an HP CD-RW drive to a PWS 500au but I don't know what the
> > device name would be. It's on the SCSI bus - the exiting IDE CDROM is
> > accessible via /dev/rz8c.
> >
>
> As you quote /dev/rz8c as an existing device I am assuming you are on a
> version of the OS prior to V5. In this case the device name is derived
> from the SCSI bus it is connected to and the SCSI id of the drive on
> that bus. The device number is Bus*8+deviceID. You may need to use
> MAKEDEV to make the device or use perhaps
>
> scsimgr -scan_all
>
> If the device file has been created then the file command can be used to
> show what they all are:
>
> file /dev/rrz*c
>
> should show you

Thanks for this info - the device number works out as 19 (SCSI bus 2, SCSI
ID 3) and there were already /dev/rrz19a - rrz19h and /dev/rz19a - rz19h
device files created when another disk was temporarily added but later
removed.

scsimgr -scan_all found these device files but didn't appear to find the
CD-RW drive. I removed the rrz19* and rz19* files and ran scsimgr -scan_all
again but it didn't create the device files. MAKEDEV reports 'unknown
device in: rrz19' when I try to create the files with /dev/MAKEDEV rrz19.

I don't know if this is relevant but the 8-bit SCSI 2 CD-RW drive with
50-pin connector is attached to the 16-bit Ultra Wide SCSI ribbon cable's
68-pin high-density D connector via an adapter. It could be that the drive
is on the high byte bus, although the system can see the drive when in
the SRM monitor - show dev correctly reports the drive parameters.

Any ideas?

Andy



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: device name for a CD-RW drive
  2001-02-28 16:44   ` andy thomas
@ 2001-02-28 22:48     ` Oisin McGuinness
  2001-03-01 11:22       ` andy thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Oisin McGuinness @ 2001-02-28 22:48 UTC (permalink / raw)




andy thomas wrote:

> 
> scsimgr -scan_all found these device files but didn't appear to find the
> CD-RW drive. I removed the rrz19* and rz19* files and ran scsimgr -scan_all
> again but it didn't create the device files. MAKEDEV reports 'unknown
> device in: rrz19' when I try to create the files with /dev/MAKEDEV rrz19.
> 

MAKEDEV rz19

would (perhaps) have made you happy....
The MAKDEV script makes instructive reading. In particular, one can see
that it knows how
to make special devices for something named rzXX where XX are numbers,
but not rrzXX.

-- 

Oisin McGuinness

Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA

(212)-224-4913, email: oisin@sbcm.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: device name for a CD-RW drive
  2001-02-28 22:48     ` Oisin McGuinness
@ 2001-03-01 11:22       ` andy thomas
  0 siblings, 0 replies; 5+ messages in thread
From: andy thomas @ 2001-03-01 11:22 UTC (permalink / raw)



On Wed, 28 Feb 2001, Oisin McGuinness wrote:

> andy thomas wrote:
>
> >
> > scsimgr -scan_all found these device files but didn't appear to find the
> > CD-RW drive. I removed the rrz19* and rz19* files and ran scsimgr -scan_all
> > again but it didn't create the device files. MAKEDEV reports 'unknown
> > device in: rrz19' when I try to create the files with /dev/MAKEDEV rrz19.
> >
>
> MAKEDEV rz19
>
> would (perhaps) have made you happy....
> The MAKDEV script makes instructive reading. In particular, one can see
> that it knows how
> to make special devices for something named rzXX where XX are numbers,
> but not rrzXX.

Ahh, thanks for the information! I've now created these files and
along the way I also discovered that a command of the form '/dev/MAKEDEV
/dev/rz19' will not work - you have to be in /dev to create the files as
MAKEDEV refuses an argument like /dev/rz19.

Now to build the CD burner software ...

cheers,

Andy



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-01 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-08 14:07 device name for a CD-RW drive andy thomas
2001-02-08 15:31 ` Nick Hill
2001-02-28 16:44   ` andy thomas
2001-02-28 22:48     ` Oisin McGuinness
2001-03-01 11:22       ` andy thomas

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