LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-12-2006, 07:51 PM   #1
katoom187
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora
Posts: 28

Rep: Reputation: 15
Mounting optical drives in FC5


I recently upgraded from FC4 to FC5. No major nuisances except for one. When I mount a cd or dvd, it mounts as /media/[disc label] instead of /media/cdrecorder or /media/cdrom, etc. This becomes a pain for applications running under wine that expect to see cd's mounted in the same place every time. Normally, I just search google for stuff like this, but no luck so far. Any help would be appreciated. Thanks
 
Old 05-12-2006, 08:29 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
That is curious. Not sure what is doing that. Post the line from /etc/fstab for the cd/dvd drive. I am curious to see if they are using a new option.

Anyways to make it always /media/cdrom or what ever you need to edit /etc/fstab and define the mount point you want. Then remove the option ' managed ' from the option section of the device. Save and exit. It is ready to go without reboot. Make sure you have a directory /media/cdrom. I don't think it will disappear on reboot but if it does then use /mnt/cdrom as the mount point and create the directory /mnt/cdrom.

Brian1
 
Old 05-14-2006, 11:33 AM   #3
katoom187
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
fstab

Here's my fstab. There's no entry for the optical drives, but I don't think it was there in FC4 either. I'm thinking that this is possibly something to do with automount, but I'm having a little trouble finding a config file for it to tweak.

Code:
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

/dev/hdb1               /media/dos              vfat    rw,defaults,umask=0000 0 0
 
Old 05-14-2006, 04:11 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Add a line like this to /etc/fstab. Edit the /dev value to the cdrom if /dev/cdrom does not exist.
Code:
/dev/cdrom              /mnt/cdrom              auto    noauto,owner,rw 0 0
 
Old 05-15-2006, 02:13 PM   #5
katoom187
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
No luck. I have /dev/cdrom cdwriter, and a whole bunch of others that look like they might work but none to. Without any entry in fstab, they still mount in an automatically created folder named after the cd's disc label. When I try to make an fstab entry like we used to in the old days, it's a no go. I'm thinking that this is some new "feature" of FC5
 
Old 05-15-2006, 03:37 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Ok it might be kudzu which is a hardware detection tool in the Redhat distro clones.
You can turn off the kudzu tool as root with the command.
chkconfig --level 345 kudzu off

Not sure if it is still used but can try. Now reboot and modify etc/fstab and use the /dev/hdc or /dev/hdd or what ever it is using. Should be found in your ' dmesg ' log.

Now see what happens.

Brian1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
S-ATA Optical Drives carlosinfl Linux - Hardware 0 11-21-2005 08:34 AM
Optical drives on Suse 9.2 ylawayjdp SUSE / openSUSE 1 05-09-2005 05:03 AM
optical drives suse 9.2 kenthegardener SUSE / openSUSE 1 05-01-2005 07:42 AM
optical drives, help please. kenthegardener Linux - General 5 05-01-2005 07:33 AM
Help with Optical Drives QzarBaron Slackware 3 01-17-2005 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration