[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2015-01-28 Thread Martin Pitt
There is no robust way how udisks could do this, but on the upstream systemd list we discussed how to do this cleanup under systemd. For udev under upstart there is a hack to call eject instead of cdrom_id --eject in the udev rule for the eject request, but this relies on udev not running under an

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-10-08 Thread rogue-spectre
Update to Phil Wright solution, for a more general context 1 - Create a udev rules file '/etc/udev/rules.d/61-sr-change.rules' and add the line : KERNEL==sr*, ACTION==change, RUN+=/usr/local/bin/sr_change.sh %n 2 - And create the script '/usr/local/bin/sr_change.sh' : #!/bin/sh if [ $# -eq 1

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-10-08 Thread Rüdiger Kupper
** Tags added: trusty -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1168742 Title: Disks are not unmounted when physical eject button is used Status in “udisks2” package in Ubuntu:

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-08-20 Thread Phil Wright
Further to my #10 comment, I forgot to point out that the utility 'dvd +rw-mediainfo' is in the package 'dvd+rw-tools' in the Ubuntu repositories. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu.

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-08-20 Thread Phil Wright
Further again to my #10 comment: My apologies, the shell script '/usr/local/bin/sr0_change.sh' above posted only works for dvd media. The following should (?) work for other media (eg. audio CDs) as well: #!/bin/sh dvd+rw-mediainfo /dev/sr0 /dev/null n=$? if [ $n -eq '251' ];then eject

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-08-19 Thread Phil Wright
This bug is still present in Ubuntu 14.04 3.13.0-32-generic (both 32bit and 64bit). This makes Ubuntu and derivatives problematic for newbie users who expect cd/dvd ejection to just work as it does in Windows. Having to manually unmount the drive before inserting another disc is a poor solution.

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2014-08-19 Thread Phil Wright
After trawling the internet for possible solutions, I have put together a kludgey script workaround to automatically unmount a dvd when it's ejected via the dvd drive eject button. This kludge assumes the dvd drive is /dev/sr0 and the shell script uses /bin/sh; customise according to your system

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2013-11-14 Thread SergeiS
Confirmed on Ubuntu 13.04 64bit (3.8.0-33-generic). What a PITA bug, I was backing up my family video dvds using dd command and noticed that the size of the images is always the same. I eventually tried playing and iso file and of course some of the chapters weren't playing. No workaround yet

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2013-11-01 Thread andrew
Confirmed on Ubuntu Gnome 13.04 64-bit (3.8.0-32-generic) It causes all kinds of DVD playback problems see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404472?comments=all -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2013-09-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: udisks2 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu.

[Desktop-packages] [Bug 1168742] Re: Disks are not unmounted when physical eject button is used

2013-09-20 Thread Rüdiger Kupper
I confirm this problem -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1168742 Title: Disks are not unmounted when physical eject button is used Status in “udisks2” package in