On Mon, 6 Apr 1998, Tim Larkins (EUKSHEL1PO) wrote:
> I've recently added a number of new items to my RH5 system.. namely a
> WangDat 3200 and a 4x Sony CD-ROM..
>
> I haven't even looked at the WangDat yet so thats not really an issue..
> however, the cd-rom is another matter.. I've already got an IDE CD-Rom in
> my system which works fine.. I mounted it under /mnt/cdrom and has the
> symbolic link /mnt/cdrom -> /dev/hdc (i think thats right... i'm doing this
> from memory)..
>
I'm pretty sure thats not what you want to do. I have my cdrom as my
primary slave, so its seen as /dev/hdb. But i have an entry on my
/etc/fstab file for the cdrom...
/dev/hdb /mnt/cdrom iso9660 noauto,ro 0 0
the first part is the actuall device (hdb). The second is where i want to
mount that filesystem. The third is the type of filesystem. the last
part are options used to mount it (man mount). The options noauto mean
that will won't be automatically mounted on boot. ro means that its a
read-only filesystem. Now i do have a symbolic link from /dev/cdrom which
points to /dev/hdb. I need that to run xplaycd and stuff like that.
Those programs don't mount a cd, they use the actual stream (thats what
file in /dev/ are for). You can make a symlink for that doing "ln -s
/dev/hdb /dev/cdrom". Now lets pretend that i have a second cdrom(hdc).
I would need to add another line to /etc/fstab...
/dev/hdc /mnt/cdrom2 iso9660 noauto,ro 0 0
Since i already have a symbolic link from /dev/cdrom to my first (primary)
cdrom drive i don't need another. The only thing that should be in /mnt
are directories. So after i add the line for the second cdrom, i need to
do the following as root...
# cd /mnt
# mkdir cdrom2
I can then put a cd in there (a data cd not audio) and use the following
command to mount it...
# mount /mnt/cdrom2
Now if i were to "cd /mnt/cdrom", i'll be in the root directory of the
cdrom.
to un mount the cdrom use umount /mnt/cdrom2
> I haven't actually tried this yet.. but I'm sitting here and wondering how
> exactly I'm going to mount my scsi cd-rom... is it simply a case of
> creating somic like /mnt/cdrom2 and then adding a line to fstab with somic
> like the following..
>
> /mnt/cdrom2 /dev/<cdrom device>... etc...etc...etc
you kinda have it mixed up some (see above)
>
> I assume the link /dev/cdrom is only there to make it all look nice and
> there is no actuall reason for it other than that? If its not, and there is
> some specific purpose to it then what link should I use to reference my
> second CD?
For some apps that use /dev/cdrom as a stream, so they don't have to guess
where your cdrom is. Example: xplaycd
>
> While we're on the subject of this... I've also got a CDW (Yamaha 100).. in
> windows95/NT i can use it as a normal cd-rom too.. has anyone tried this in
> linux?
I wish i could afford any kind of cdr or cdw =)
I hope this clears some stuff up.
>
> Tim Larkins
> NCR Professional Services
>
> Email: [EMAIL PROTECTED]
> -----------------------------------------------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.