Hello:
I have two removable media drives in my computer: one is a CDROM drive and the other is a DVD recorder. First I found it difficult to mount the DVD drive. I found it strange because it was an automatic task in Edgy. The only way I accomplished it was to mount the drive by hand:
sudo mount /dev/cdrom ...
After that no icon appeared in the Desktop. Having a look at /etc/fstab the drives were identified as /dev/hda and /dev/hdb, contrary to what was informed in dmesg: there they were detected as /dev/scd0 and /dev/scd1. So I modified fstab to reflect it.
What now: the drives are mounted automagically when I insert the media. At first I could not umount or eject them (I had no permissions). So I added the following line in /etc/sysctl.conf:
dev.cdrom.lock=0
After that I can mount and umount the drives but their icons still persist in the desktop, even after I eject the media. Any ideas as to how to solve the problem ?
Here is a copy of my /etc/fstab:
/dev/scd0 /media/cdrom0 iso9660 defaults 0 0
# /dev/sda2
UUID=9222a91a-f6af-4671-b29c-24d80a1062a9 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda3
UUID=094101c5-0ef1-4203-a509-48ff9ba34162 /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/sda1
UUID=23b81915-a435-49c5-a6ee-94fc92f17f83 none swap sw 0 0
/dev/scd1 /media/cdrom1 auto user,atime,auto,ro,dev,exec,suid 0 0
/dev/scd0 /media/cdrom0 auto user,atime,auto,rw,dev,exec,suid 0 0
Thanks
I have two removable media drives in my computer: one is a CDROM drive and the other is a DVD recorder. First I found it difficult to mount the DVD drive. I found it strange because it was an automatic task in Edgy. The only way I accomplished it was to mount the drive by hand:
sudo mount /dev/cdrom ...
After that no icon appeared in the Desktop. Having a look at /etc/fstab the drives were identified as /dev/hda and /dev/hdb, contrary to what was informed in dmesg: there they were detected as /dev/scd0 and /dev/scd1. So I modified fstab to reflect it.
What now: the drives are mounted automagically when I insert the media. At first I could not umount or eject them (I had no permissions). So I added the following line in /etc/sysctl.conf:
dev.cdrom.lock=0
After that I can mount and umount the drives but their icons still persist in the desktop, even after I eject the media. Any ideas as to how to solve the problem ?
Here is a copy of my /etc/fstab:
/dev/scd0 /media/cdrom0 iso9660 defaults 0 0
# /dev/sda2
UUID=9222a91a-f6af-4671-b29c-24d80a1062a9 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda3
UUID=094101c5-0ef1-4203-a509-48ff9ba34162 /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/sda1
UUID=23b81915-a435-49c5-a6ee-94fc92f17f83 none swap sw 0 0
/dev/scd1 /media/cdrom1 auto user,atime,auto,ro,dev,exec,suid 0 0
/dev/scd0 /media/cdrom0 auto user,atime,auto,rw,dev,exec,suid 0 0
Thanks
Comment