* CDROM Device
@ 2003-01-30 1:42 Herb Burnswell
2003-01-30 2:38 ` Stuart Fuller
0 siblings, 1 reply; 5+ messages in thread
From: Herb Burnswell @ 2003-01-30 1:42 UTC (permalink / raw)
Hi,
I am new to Tru64 and am having a problem with the CDROM device. The
machine is a DS20 running v5.1a. Here is a little more info:
bash-2.05b# hwmgr -show scsi
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID
PATH
-------------------------------------------------------------------------
49: 0 alpha51a disk none 2 1 dsk0
[2/1/0]
50: 1 alpha51a cdrom none 0 1 cdrom0
[2/4/0]
51: 2 alpha51a disk none 0 1 dsk1
[2/0/0]
52: 3 alpha51a disk none 0 1 dsk2
[2/3/0]
bash-2.05b# scu show edt
CAM Equipment Device Table (EDT) Information:
Bus/Target/Lun Device Type ANSI Vendor ID Product ID
Revision N/W
-------------- ----------- ------ --------- ----------------
-------- ---
2 0 0 Direct SCSI-2 DEC RZ1CF-CF (C) DEC
1614 W
2 1 0 Direct SCSI-2 DEC RZ1CB-CS (C) DEC
0656 W
2 3 0 Direct SCSI-2 DEC RZ1CB-CA (C) DEC
LYJ0 W
2 4 0 CD-ROM SCSI-2 DEC RRD46 (C) DEC
1337 N
I have been reading about mounting the CDROM and have not been able to
find a solution to my problem. I read that mounting would look
something like:
/usr/sbin/mount -t cdfs -r -o rrip /dev/rrz24c /cdrom
There were no r* devices in the /dev directory. I did say *were*. I
read further about MAKEDEV and stupidly decided to try a:
cd /dev
./MAKEDEV rz1
As you can imagine, I now have rrz1a-h and rz1a-h in /dev. None of
which mount for the CDROM. Can anyone tell me what I (stupidly) did
by ./MAKEDEV rz1 and what I can do to fix the situation. Also, can
someone steer me in the right direction to docs or anything I can do
to allow me to mount the CDROM? Any infomation is greatly
appreciated.
TIA,
Herb
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: CDROM Device
2003-01-30 1:42 CDROM Device Herb Burnswell
@ 2003-01-30 2:38 ` Stuart Fuller
2003-01-30 18:34 ` Herb Burnswell
2003-01-30 20:21 ` Herb Burnswell
0 siblings, 2 replies; 5+ messages in thread
From: Stuart Fuller @ 2003-01-30 2:38 UTC (permalink / raw)
Herb Burnswell wrote:
> Hi,
>
> I am new to Tru64 and am having a problem with the CDROM device. The
> machine is a DS20 running v5.1a. Here is a little more info:
>
> bash-2.05b# hwmgr -show scsi
>
> SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
> HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID
> PATH
> -------------------------------------------------------------------------
> 49: 0 alpha51a disk none 2 1 dsk0
> [2/1/0]
> 50: 1 alpha51a cdrom none 0 1 cdrom0
> [2/4/0]
> 51: 2 alpha51a disk none 0 1 dsk1
> [2/0/0]
> 52: 3 alpha51a disk none 0 1 dsk2
> [2/3/0]
>
>[...]
> I have been reading about mounting the CDROM and have not been able to
> find a solution to my problem. I read that mounting would look
> something like:
>
> /usr/sbin/mount -t cdfs -r -o rrip /dev/rrz24c /cdrom
>
> There were no r* devices in the /dev directory. I did say *were*. I
> read further about MAKEDEV and stupidly decided to try a:
>
> cd /dev
> ./MAKEDEV rz1
>
> As you can imagine, I now have rrz1a-h and rz1a-h in /dev. None of
> which mount for the CDROM. Can anyone tell me what I (stupidly) did
> by ./MAKEDEV rz1 and what I can do to fix the situation. Also, can
> someone steer me in the right direction to docs or anything I can do
> to allow me to mount the CDROM? Any infomation is greatly
> appreciated.
mount /dev/disk/cdrom0 /cdrom
The "cdrom0" comes from the above "hwmgr show scsi" output.
The syntax you were using comes from V4.x and prior versions of TRU64 Unix.
--
Stu
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: CDROM Device
2003-01-30 2:38 ` Stuart Fuller
@ 2003-01-30 18:34 ` Herb Burnswell
2003-01-30 19:41 ` Joe Chung
2003-01-30 20:21 ` Herb Burnswell
1 sibling, 1 reply; 5+ messages in thread
From: Herb Burnswell @ 2003-01-30 18:34 UTC (permalink / raw)
>
> mount /dev/disk/cdrom0 /cdrom
>
> The "cdrom0" comes from the above "hwmgr show scsi" output.
>
> The syntax you were using comes from V4.x and prior versions of TRU64 Unix.
Thanks for your reply. When I give the suggested command:
mount /dev/disk/cdrom0 /cdrom
I get:
bash-2.05b# mount /dev/disk/cdrom0 /cdrom
Error: /dev/disk/cdrom0 is an invalid device or cannot be opened.
Looking in /dev/disk, I have a cdrom0a and cdrom0c. Neither of which
mount properly with the following:
bash-2.05b# mount /dev/disk/cdrom0a /cdrom
/dev/disk/cdrom0a on /cdrom: Read-only file system
But I can not see anything in /cdrom. What am I doing wrong? Is
there anything else I need to do? Any help would be greatly
appreciated.
Thanks,
Herb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CDROM Device
2003-01-30 18:34 ` Herb Burnswell
@ 2003-01-30 19:41 ` Joe Chung
0 siblings, 0 replies; 5+ messages in thread
From: Joe Chung @ 2003-01-30 19:41 UTC (permalink / raw)
patyoung13@hotmail.com (Herb Burnswell) writes:
[SNIP]
> mount /dev/disk/cdrom0 /cdrom
>
> I get:
>
> bash-2.05b# mount /dev/disk/cdrom0 /cdrom
> Error: /dev/disk/cdrom0 is an invalid device or cannot be opened.
>
> Looking in /dev/disk, I have a cdrom0a and cdrom0c. Neither of which
> mount properly with the following:
>
> bash-2.05b# mount /dev/disk/cdrom0a /cdrom
> /dev/disk/cdrom0a on /cdrom: Read-only file system
>
> But I can not see anything in /cdrom. What am I doing wrong? Is
> there anything else I need to do? Any help would be greatly
> appreciated.
>
> Thanks,
>
> Herb
On my 5.1B ES40 system, this command works
mount -r /dev/disk/cdrom0c /cdrom
You might try being explicit about the cd format,
although I haven't found it to be necessary:
If the CD is in ISO9660 format:
mount -r -t cdfs /dev/disk/cdrom0c /cdrom
Or if the cd is in UFS format:
mount -r -t ufs /dev/disk/cdrom0c /cdrom
Partition "c" is the entire disk, which is appropriate for CDROMs.
-jc
--
(apply 'concat (reverse (list "com"
(char-to-string 46) "yahoo"
(char-to-string 64) "joechung")))
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CDROM Device
2003-01-30 2:38 ` Stuart Fuller
2003-01-30 18:34 ` Herb Burnswell
@ 2003-01-30 20:21 ` Herb Burnswell
1 sibling, 0 replies; 5+ messages in thread
From: Herb Burnswell @ 2003-01-30 20:21 UTC (permalink / raw)
>
> mount /dev/disk/cdrom0 /cdrom
>
> The "cdrom0" comes from the above "hwmgr show scsi" output.
>
> The syntax you were using comes from V4.x and prior versions of TRU64 Unix.
Hi,
Thanks to Todd Seeleman who responded via email, I was able to resolve
the mounting with:
mount -r /dev/disk/cdrom0c /cdrom
As for the MAKEDEV, will the rrz1a-h and rz1a-h in /dev cause any
problems?
Thanks,
Herb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-30 20:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 1:42 CDROM Device Herb Burnswell
2003-01-30 2:38 ` Stuart Fuller
2003-01-30 18:34 ` Herb Burnswell
2003-01-30 19:41 ` Joe Chung
2003-01-30 20:21 ` Herb Burnswell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox