I changed my fstab so that I can mount my cds and dvds but now I cant open the cd drive without manualy unmounting from the command line.
Here is my fstab:
/dev/sda1 /boot ext2 noatime 1 2
/dev/sda2 / ext4 noatime 0 1
/dev/sda3 none swap sw 0 0
/dev/sda4 /home ext4 noatime 0 0
/dev/mapper/storage-working /bigdrive xfs noatime 0 0
/dev/sr0 /media/dvdrw auto auto,user,exec 0 0
/dev/sr1 /media/blueray auto auto,user,exec 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
sr0 and sr1 are my drives.
Before, I didnt have them in my fstab but could access them with my programs(handbreak a video ripping program) but I couldnt browse the drives when a dvd was inserted.
Now I can browse the drives and access them with my programs but it wont auto unmount when I press the eject button on the drives.
Am I missing an option in my fstab? Or do I need to do something with udev?
Im using gentoo.