> How do I mount my cd-rom under linux. There are no lines in /etc/fstab or
> /etc/mtab indicating automounting (or any mounting) of the cd-rom, and I
> dont remember how to do it..


Well, pretending that you have an IDE cd-rom and it's /dev/hdc, you'd
do something like:

mount -t iso9660 /dev/hdc /mnt/cdrom

Make sure the mounting directory (/mnt/cdrom in this case) exists. You'll
need to substitute the correct device for your system obviously, and if
it's SCSI I can't help you with the devices (I don't use anything SCSI
in my system). The entries in my /etc/fstab look something like the 
following (I'm at work and doing this from memory):

/dev/hdd /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0

There's a reason I have two entries. If I let /dev/hdd be mountable
by users, I can't run any executables (scripts, etc.) off the device
even if I'm root. So, I use /dev/hdd for mounting when I need to run
something off the cd, and I have /dev/cdrom configured for users so
that xplaycd can get to it. It's the same device, though. By the way,
if anyone out there has a better solution than the way I'm getting
around this problem (even as root, if the cd is user-mountable I 
always get "permission denied" when I try to run something off of
it...if it's not listed as user-mountable I don't have this problem)
I'd like to hear it.


---
Bill Kocik
Information Systems
Medar, Inc.
E-mail: [EMAIL PROTECTED]
Web:    http://www.medar.com

Reply via email to