Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Help: Mount CDrom
@ 1998-06-12  4:00 M. Cao
  1998-06-12  4:00 ` David Lloyd
  1998-06-17  4:00 ` Jeff Wilson
  0 siblings, 2 replies; 5+ messages in thread
From: M. Cao @ 1998-06-12  4:00 UTC (permalink / raw)




Hi,

Can you tell me how to find CD device and mount the CDrom on
Digital Unix 4.0.

The book tells me use the following command to find CD device,
but can not find RRD.

file /dev/rrz*c | grep RRD .


Thanks in advance

Minh





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

* Re: Help: Mount CDrom
  1998-06-12  4:00 Help: Mount CDrom M. Cao
@ 1998-06-12  4:00 ` David Lloyd
  1998-06-17  4:00 ` Jeff Wilson
  1 sibling, 0 replies; 5+ messages in thread
From: David Lloyd @ 1998-06-12  4:00 UTC (permalink / raw)



I don't think the RRD part is correct. Try something like

# mount -r /dev/rz4c /mnt

(make sure to mount the CD read-only with the "-r")


Dave Lloyd
SAIC
Las Vegas, NV


M. Cao wrote:

> Hi,
>
> Can you tell me how to find CD device and mount the CDrom on
> Digital Unix 4.0.
>
> The book tells me use the following command to find CD device,
> but can not find RRD.
>
> file /dev/rrz*c | grep RRD .
>
> Thanks in advance
>
> Minh






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

* Re: Help: Mount CDrom
  1998-06-12  4:00 Help: Mount CDrom M. Cao
  1998-06-12  4:00 ` David Lloyd
@ 1998-06-17  4:00 ` Jeff Wilson
  1998-06-24  4:00   ` More Help! " UPC21
  1 sibling, 1 reply; 5+ messages in thread
From: Jeff Wilson @ 1998-06-17  4:00 UTC (permalink / raw)



Normally you must be the superuser to access the cd-rom.

As root run "file /dev/rrz*c" and look for RRD line in output -
usually /dev/rz4 or /dev/rz5 - this will not work for a normal
account.

If it isn't there, shut down to the boot prompt and enter "sh dev",
listing the scsi devices. Find the cd-rom and note scsi address,
dka400, dkb500 depending on which scsi the cd-rom is attached to.
Boot system and in /dev check that the corresponding device exist,
i.e., dka400 would be rrz4 and dkb500 would be rrz13 (eight is added
for the external scsi).
Use the /dev/MAKEDEV command to create the device if its not in /dev.
	cd /dev
	./MAKEDEV rz4
This should create rrz4a rrz4b rrz4c .... etc.
Then run "file /dev/rrz*c" again.

Depending on the CD format try and assuming device rz4 try ...
	mount -r /dev/rz4c /mnt
	mount -r /dev/rz4a /mnt
	mount -vt cdfs -o ro,noversion /dev/rz4c /mnt
	mount -vt cdfs -o ro,noversion /dev/rz4a /mnt

Hopefully one of the above will work.
-- 
.

                         Jeff Wilson
                         London - UK

M. Cao <mcao@u.washington.edu> wrote in article
<Pine.A41.3.95b.980612094232.134104C-100000@homer39.u.washington.edu>.
.
> 
> Hi,
> 
> Can you tell me how to find CD device and mount the CDrom on
> Digital Unix 4.0.
> 
> The book tells me use the following command to find CD device,
> but can not find RRD.
> 
> file /dev/rrz*c | grep RRD .
> 
> 
> Thanks in advance
> 
> Minh
> 
> 
> 



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

* More Help! Mount CDrom
  1998-06-17  4:00 ` Jeff Wilson
@ 1998-06-24  4:00   ` UPC21
  1998-06-24  4:00     ` Sasa Stiasni
  0 siblings, 1 reply; 5+ messages in thread
From: UPC21 @ 1998-06-24  4:00 UTC (permalink / raw)



In <01bd9a07$9104a050$d53ec69b@leicester>, "Jeff Wilson" <jwilson@ic.ac.uk> writes:
>Normally you must be the superuser to access the cd-rom.
>
>etc.... 
In many LANs there are nowadays workstations with local CD-Rom units attached.
And. of course, it would be fine if the locally working user could mount and
umount his CD's by himself without calling for some superuser!
Under ULTRIX and upto OSF1-3.5 we by-passed the 'superuser'-restriction by
using C-programs with system calls and suid, but that seems not to work with 
OSF1-4x any more.
Does somebody know a work-around?

Thanks in advance
G. Lay




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

* Re: More Help! Mount CDrom
  1998-06-24  4:00   ` More Help! " UPC21
@ 1998-06-24  4:00     ` Sasa Stiasni
  0 siblings, 0 replies; 5+ messages in thread
From: Sasa Stiasni @ 1998-06-24  4:00 UTC (permalink / raw)



On 24 Jun 1998 18:24:53 GMT, UPC21@ <UPC21@> wrote:
>In <01bd9a07$9104a050$d53ec69b@leicester>, "Jeff Wilson" <jwilson@ic.ac.uk> writes:
>>Normally you must be the superuser to access the cd-rom.
>>
>>etc.... 
>In many LANs there are nowadays workstations with local CD-Rom units attached.
>And. of course, it would be fine if the locally working user could mount and
>umount his CD's by himself without calling for some superuser!
>Under ULTRIX and upto OSF1-3.5 we by-passed the 'superuser'-restriction by
>using C-programs with system calls and suid, but that seems not to work with 
>OSF1-4x any more.
>Does somebody know a work-around?

On linux /etc/fstab looks like this:
/dev/cdrom   /cdrom      iso9660 defaults,noauto,ro,user      0 0

Try adding 'user' option to /etc/fstab. Maybe it works...

Sasa
-- 
mailto: sstiasni@irb.hr
URL: http://titan.fpz.hr/~sstiasni
ICQ 12844140




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

end of thread, other threads:[~1998-06-24  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-12  4:00 Help: Mount CDrom M. Cao
1998-06-12  4:00 ` David Lloyd
1998-06-17  4:00 ` Jeff Wilson
1998-06-24  4:00   ` More Help! " UPC21
1998-06-24  4:00     ` Sasa Stiasni

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