problem (un)mounting DVDs

You think you have found a bug? Let us know about it.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

problem (un)mounting DVDs

Post by mimosa »

This is just a minor irritation that I am beginning to think may actually be a bug, that is, the behaviour may not be as intended and it's not something I'm doing wrong.

I'm running Salix Live xfce 13.1.2 off a USB, but I'm pretty sure I've had this with earlier Salix versions - there is a 13.0 I can test if needed.

If I leave a CD or DVD in the slot by mistake, when I boot up Salix again, I have to become root to unmount and eject it; any other disc I put in requires to be mounted by root and doesn't appear even then. If I manually create /media/disk and mount it to that, though, all is well; it appears on the desktop and can be played. The only other solution is apparently to reboot with no disk in the drive, and even that requires use of the CLI to get it out of there in the first place.

The applicable line in /etc/fstab ends in # Autoupdate, which makes me think it was put there during the boot process. I'll reboot in a minute and have a look. As far as I remember, normal policy is for this line to be commented out. ... yes, on reboot with no disk in the drive, the line for /dev/sr0 is absent from /etc/fstab.

Code: Select all

root[one]# mkdir /media/disk
root[one]# mount /dev/sr0 /media/disk 
mount: block device /dev/sr0 is write-protected, mounting read-only
root[one]# cat /etc/fstab
aufs / aufs defaults 0 0 # AutoUpdate
proc /proc proc defaults 0 0 # AutoUpdate
sysfs /sys sysfs defaults 0 0 # AutoUpdate
devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
tmpfs /dev/shm tmpfs defaults 0 0 # AutoUpdate
/dev/sr0 /mnt/sr0 udf auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sdb1 /mnt/sdb1 vfat auto,noatime,suid,dev,exec,quiet,umask=0,check=s,shortname=winnt,utf8 0 0 # AutoUpdate
/dev/sda7 /mnt/sda7 ext4 auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sda6 /mnt/sda6 ext4 auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sda5 /mnt/sda5 ext4 auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sda3 /mnt/sda3 ext4 auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sda2 /mnt/sda2 reiserfs auto,noatime,suid,dev,exec 0 0 # AutoUpdate
/dev/sda1 none swap auto,defaults,pri=1 0 0 # AutoUpdate
root[one]# 
Here's some output from dmesg :

root[one]# dmesg | tail
wlan0: associate with AP 00:1a:3f:52:df:d2 (try 1)
wlan0: RX AssocResp from 00:1a:3f:52:df:d2 (capab=0x431 status=0 aid=4)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
cfg80211: Calling CRDA for country: BR
wlan0: no IPv6 routers present
UDF-fs: Partition marked readonly; forcing readonly mount
UDF-fs INFO UDF: Mounting volume 'A_VIDA_DOS_OUTROS', timestamp 2008/03/19 08:49 (1f4c)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
root[one]#
Last edited by mimosa on 8. Feb 2011, 17:59, edited 1 time in total.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: problem (un)mounting DVDs

Post by JRD »

This is a problem on how LLS is working. This is fixed in the next live system.
Image
Post Reply