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
** 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:
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 [ $#
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 /dev/
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.
https://bugs.launchpad.n
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 c
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.
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 oth
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 udisks
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 Ubuntu:
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.
https://bugs.launchpad.net/bugs/1168
11 matches
Mail list logo