Hi,
Jon is correct on everything, but I just wanted to expand one thing ... at the bottom.

Jon Peatfield wrote:

I have /cdrom directory
but "mount -t /dev/hda /cdrom" or "mount -t /dev/cdrom /cdrom"
both failed.

mount's "-t" option specifies a filesystem type, but without specifying one it will probably work out the right one.

this is what I added to fstab
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

Can anyone suggest how I can mount the cdrom.

In general with sl5 don't add these things into fstab. The hald and gnome volume manager should be handling this if there is a console user.


Jon is correct here for a majority of cases. If you log in as a normal user, and put a cdrom into the cdrom drive, then it will get automatically loaded and it will be made accessable to you.

But if you look on our "limitations" page, towards the bottom
http://www.scientificlinux.org/distributions/5x/55/limitations
you will see the following

-----
Removable storage devices (such as CDs and DVDs) do not automatically mount when you are logged in as root, or in a non graphical enviroment. If you are in a graphical enviroment, you will need to manually mount the device through the graphical file manager.

Alternatively, you can run the following command to mount a device to /media:

mount /dev/[device name] /media

---

So for your case it would be
  mount /dev/hda /cdrom


Troy
--
__________________________________________________
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__________________________________________________

Reply via email to