On Tue, 2005-11-15 at 13:11 -0600, Yogich wrote:
On Tuesday 15 November 2005 09:15, Mr Banana wrote:
This has been bugging me for a while and some clues in this thread have led me to figure out what is going on. As others point out the "disk" is mounted with the sync option (unless you turn it off as per the 10.0 release notes) and yanking it out is OK but it offends my sensibilities to do so. If you right click on the desktop device you get a "Safely Remove" action but this complains that you don't have permission to unmount the device. This action is controlled in this menu option:
/opt/kde3/share/apps/konqueror/servicemenus/media_safelyremove.desktop
The action to perform is 'Exec=kio_media_mounthelper -s %u' which will unmount and eject the media. Change this, or add another menu option, to just eject the media with 'Exec=kio_media_mounthelper -e %u' and you can now issue the eject which will remove the device cleanly and the icon will disappear automatically.
Possibly only a cosmetic enhancement but it makes me feel a lot happier.
Cosmo
Would you per-chance know about writing a udev rule for something of this nature? All attempts to do so while following the manual have failed. :-\
I did try playing around with a udev rule that would mount the device with the user option set so that I could at least unmount it without being root. I followed the example in the SuSE 10 release notes where they show how to unset the sync flag for a USB device: file:///usr/share/doc/release-notes/RELEASE-NOTES.en.html#18 Although I could get the rule excepted it would not actually honour the addition of a user option. I gave up this route when it looked like I'd have to pull the source for udev to see what was going on. Cosmo