Jump to content

cds/dvds not being detected


Recommended Posts

I've been having a problem for about a month now where when I insert a dvd or cd in my dvd drive that it's not detected. I keep having to do chmod a+r /dev/hdc in order to get it to work.

 

I haven't changed my fstab but here it is.

 

/dev/hda7               /               reiserfs        notail   0 0
/dev/hda8               /home           reiserfs        notail   0 0
/dev/hda1               /mnt/mandrake   reiserfs        notail   0 0
/dev/hda6               /mnt/mandrake/home reiserfs     notail   0 0
/dev/hda9               /mnt/lfs        reiserfs        notail   0 0
/dev/hda5               none            swap            sw                     $
/dev/hdc                /mnt/cdrom      auto            noauto,ro,user  0 0

 

Any ideas? This is rather annoying.

 

mysti

Link to comment
Share on other sites

Install and run the usual "modern" CD automounters: message bus (dbus), hal, ivman.

Then fstab-sync will autocreate for you a new entry, like:

/dev/hdc /mnt/dvd auto user,exec,noauto,comment=managed 0 0

You can manually delete your old entry after that.

If you have upgraded from a previous Mandy ( or Gentoo? :P ) version, disable/uninstall old automounting utils- more than one of them can create a mess.

Works here (although my Arch Linux sets fstab-sync automounting devices under /media and not under /mnt - but this shouldn't change a iota).

Edited by scarecrow
Link to comment
Share on other sites

working on this with her on IRC.

 

her file permissions are:

brw-rw-r--  1 root cdrom 22, 0 Aug  6 23:45 /dev/hdc

gentoo uses a cdrom group, i've told her to add herself to it:

gpasswd -a <username> cdrom

i think this should work, waiting for her to respond :)

Link to comment
Share on other sites

yeah, each distro does CD permissions differently - it can get confusing. when i first installed gentoo, i tried to add myself to the optical group out of habit! (i was an arch user for some time).

 

the problem with gentoo is that from time to time they'll change the group setup, so disk used to have access to cdroms, but then they added the cdrom group, and apparently didn't tell people hehe

Link to comment
Share on other sites

Another problem is that some daemons don't need just the default user added to a specific group (which sometimes doesn't exist and has to be created), but also the presence of specific users (typically with no login rights)- and usually when installing from a GUI installer the post-install messages about creating user "blahblah" don't show up to assist you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...