[opensuse] Unmount option for USB-flashdisk in KDE 3.5 desktop icons
In KDE 3.5 (currently 3.5.10) icons are placed on the desktop representing inserted media (CD/DVD, USB flashdisk). For CD/DVDs right click on the icon gives possible actions including "eject" and "unmount". For USB-flashdisks there is a "safely remove" option but there is no "unmount" option. My question is where the properties of these icon are stored, how they are activated, and how I could add an "unmount" option to USB-flashdisk icon? Sometimes I want to unmount/remount my flashdisk without removing it. Thanks is advance, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/04/10 16:41, Istvan Gabor wrote:
In KDE 3.5 (currently 3.5.10) icons are placed on the desktop representing inserted media (CD/DVD, USB flashdisk).
For CD/DVDs right click on the icon gives possible actions including "eject" and "unmount". For USB-flashdisks there is a "safely remove" option but there is no "unmount" option.
My question is where the properties of these icon are stored, how they are activated, and how I could add an "unmount" option to USB-flashdisk icon? Sometimes I want to unmount/remount my flashdisk without removing it.
Thanks is advance,
Istvan
As I understand it, all "safely remove" is, is an unmount. Unlike with a CD there is no way to eject, so unmount is all you can do with a flash drive. "Safely remove" is just Windows-speak for unmount that seems to have permeated into KDE ... Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010-04-08 20:19, Tejas Guruswamy wrote:
As I understand it, all "safely remove" is, is an unmount. Unlike with a CD there is no way to eject, so unmount is all you can do with a flash drive. "Safely remove" is just Windows-speak for unmount that seems to have permeated into KDE ...
Maybe not. In gnome we get umount, eject, safely remove... three methods. IIRC the "safely remove" switches off the stick, led goes off, so you have to really unplug-replug to mount it again. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAku+JuwACgkQja8UbcUWM1zZJAD/dh61Bc7XckjlaTqM2POlxvYx 1ZvVhY0q5qWSSoTRMUgBAJ6mEl7WpiG6dkNXtv/8j+Vvu2mHnZGMm6giytoQdc1S =61DI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Tejas Guruswamy
As I understand it, all "safely remove" is, is an unmount.
I believe "safely remove" performs a sync prior to umount, thus "safely".
Unlike with a CD there is no way to eject, so unmount is all you can do with a flash drive. "Safely remove" is just Windows-speak for unmount that seems to have permeated into KDE ...
eject /dev/<particular-usb-device> I also believe will do the same as "safely remove". -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/8/2010 8:41 AM, Istvan Gabor wrote:
In KDE 3.5 (currently 3.5.10) icons are placed on the desktop representing inserted media (CD/DVD, USB flashdisk).
For CD/DVDs right click on the icon gives possible actions including "eject" and "unmount". For USB-flashdisks there is a "safely remove" option but there is no "unmount" option.
My question is where the properties of these icon are stored, how they are activated, and how I could add an "unmount" option to USB-flashdisk icon? Sometimes I want to unmount/remount my flashdisk without removing it.
Thanks is advance,
Istvan
I too miss the unmount. *Safely remove is NOT a sufficient option*. Basically USB devices simply have buffers flushed and files closed, with safely removed. This might work for a dumb stick but for other things like cameras, ereaders and some phones its not good enough. The assertion is often made that the device is mounted synchronously and therefore needs no unmount option. However, some devices (my Barnes and Noble nook for example) do not return to normal operation until they are dimounted, and they don't charge their battery till they do return to normal operation, and you can't do anything with the device while it is mounted. Same for many Cameras. You have to de-cable the device. I would love to see a true un-mount added back into the Device Notifier (I'm on KDE 4.4.2). -- _____________________________________ At one time I had a Real Sig. Its been downsized. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/04/10 22:26, John Andersen wrote:
On 4/8/2010 8:41 AM, Istvan Gabor wrote:
In KDE 3.5 (currently 3.5.10) icons are placed on the desktop representing inserted media (CD/DVD, USB flashdisk).
For CD/DVDs right click on the icon gives possible actions including "eject" and "unmount". For USB-flashdisks there is a "safely remove" option but there is no "unmount" option.
My question is where the properties of these icon are stored, how they are activated, and how I could add an "unmount" option to USB-flashdisk icon? Sometimes I want to unmount/remount my flashdisk without removing it.
Thanks is advance,
Istvan
I too miss the unmount.
*Safely remove is NOT a sufficient option*. Basically USB devices simply have buffers flushed and files closed, with safely removed. This might work for a dumb stick but for other things like cameras, ereaders and some phones its not good enough. The assertion is often made that the device is mounted synchronously and therefore needs no unmount option.
However, some devices (my Barnes and Noble nook for example) do not return to normal operation until they are dimounted, and they don't charge their battery till they do return to normal operation, and you can't do anything with the device while it is mounted. Same for many Cameras. You have to de-cable the device.
I would love to see a true un-mount added back into the Device Notifier (I'm on KDE 4.4.2).
Sorry, I don't understand your problem. "Safely remove" is a filesystem sync AND an unmount - I have never had it not unmount for any device. If your devices are not recognizing being unmounted, I think you are encountering a different issue - I would ask if you unmount the device from the command line does it recognize it is disconnected? Does it behave similarly in Windows? Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/8/2010 3:51 PM, Tejas Guruswamy wrote:
On 08/04/10 22:26, John Andersen wrote:
*Safely remove is NOT a sufficient option*. Basically USB devices simply have buffers flushed and files closed, with safely removed. This might work for a dumb stick but for other things like cameras, ereaders and some phones its not good enough. The assertion is often made that the device is mounted synchronously and therefore needs no unmount option.
However, some devices (my Barnes and Noble nook for example) do not return to normal operation until they are dimounted, and they don't charge their battery till they do return to normal operation, and you can't do anything with the device while it is mounted. Same for many Cameras. You have to de-cable the device.
I would love to see a true Eject added back into the Device Notifier (I'm on KDE 4.4.2).
Sorry, I don't understand your problem. "Safely remove" is a filesystem sync AND an unmount - I have never had it not unmount for any device. If your devices are not recognizing being unmounted, I think you are encountering a different issue - I would ask if you unmount the device from the command line does it recognize it is disconnected? Does it behave similarly in Windows?
Regards, Tejas
Well, I thought I 'splained it fairly succinctly, but let me try again. There are some devices that use USB connections and appear on Linux as disk drives. These devices have other functionality besides JUST being a USB storage stick. Examples include Cameras. Ereaders, cellphones, etc. I have an Olympus camera, a Nicon CoolPix camera, and a Nook ereader. All of these act the same way under linux. You plug them in, and the KDE Device Notifies shows them as recently plugged in devices, reports WHAT they are, and show you a list of things you can do with the device. (Download pictures, copy files, explore with Dolphin, etc). So far so good. These devices typically will NOT perform their primary function when plugged in as a USB storage device. Can't take pictures. Can't read ebooks. My Cameras just show a blank screen and are unresponsive to any buttons or controls. My nook pops up a stylized picture of a USB cable, its way of telling you it is acting as a USB storage drive, and won't allow any other functions while mounted as a USB storage device. So, to to regain functionality of the device, you would expect to click the Eject icon that shows on the Device notifier. *Two problems*: 1) the icon does not show till you click the little symbol that says make this available to other programs 2) After making it available, the eject symbol simple does what it calls a "safely remove". The device is still connected as a USB device. It still will not allow you to read ebooks or take pictures because IT believes it is still in use as a USB storage device. There is no way to use Device Notifier to do a real eject. The option is not available. There is no command line I can find to eject it either, because it is not mounted, does not appear in fstab or mtab. So it sits there and there is nothing you can do but yank the cord. (Worse, it drains the battery on the device). *Under Windows 7*, the Tray icon for USB devices offers a Safely Remove. It acts EXACTLY the same way. The USB device is made un-available for read write, but the device Still thinks its connected as a USB storage device and will not honor its intended purpose. However, if you call up Windows Explorer, Right click the drive icon you will be offered an EJECT option in the context menu. That Eject WORKS. The camera returns to functionality, the nook allows ebook reading. *In KDE 3.5*, a desktop icon appeared when a usb device was plugged in. The context menu of this Desktop icon had a Safely remove option that would actually do an EJECT, and the device properly recognized that it was disconnected and returned to its normal function (taking pictures or reading ebooks). (You can't remount these ejected devices without re-plugging them). *Under Gnome*, Nautilus offers three options: 1) Safely Remove, which fails as often as not, 2) Unmount, which leave the usb device connected and you can remount it, but Camera won't function, and ereader won't read ebooks, and 3) Eject which restores functionality to the devices, (but you can't remount them without replugging them). *But under KDE 4.4.2* Eject is not possible. There is no command line that I can find to do the equivalent of Eject, because there is nothing mounted. There is no option for eject in Dolphin or the Device Notifier. -- _____________________________________ At one time I had a Real Sig. Its been downsized. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Andersen
*But under KDE 4.4.2* Eject is not possible. There is no command line that I can find to do the equivalent of Eject, because there is nothing mounted. There is no option for eject in Dolphin or the Device Notifier.
iianm, the same "link-icon" that you mouse click on to "connect" the device will perform the unlink/umount/eject function. In fact, just did it with my Nikon D200 with the D200 usb interface set to "Mass Storage". It is not possible to eject or umount the camera when the interface is set to "PTP", but digikam attempts to "capture" an image via the camera in this setting, like a "remote" control/tether. As the camera *should* be powered down to connect/dis-connect, the device resets itself and functions properly after dis-connect. I fail to see any reason or purpose for a "umount" function. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/8/2010 9:51 PM, Patrick Shanahan wrote:
I fail to see any reason or purpose for a "umount" function.
Its the Eject that is needed. Eject under Windows 7 and Gnome Nautilus works. Unmount does not really do anything but flush to disk and close files. The unit still thinks its connected when you use unmount. -- _____________________________________ At one time I had a Real Sig. Its been downsized. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 09 April 2010 07:26:49 John Andersen wrote:
On 4/8/2010 9:51 PM, Patrick Shanahan wrote:
I fail to see any reason or purpose for a "umount" function.
Its the Eject that is needed.
Eject under Windows 7 and Gnome Nautilus works. Unmount does not really do anything but flush to disk and close files. The unit still thinks its connected when you use unmount.
Yep, just talked to our USB guys, and eject and umount are two separate operations. It seems that Nautilus: 'Eject' == umount, eject Windows: 'Safely Remove == umount, eject KDE: 'Safely Remove' == umount My Garmin Edge shows the battery level after having been 'Safely Removed' under windows, but still shows the 'PC connected' display after doing so in KDE. I'll investigate adding an eject to KDE. Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/9/2010 3:02 AM, Will Stephenson wrote:
On Friday 09 April 2010 07:26:49 John Andersen wrote:
On 4/8/2010 9:51 PM, Patrick Shanahan wrote:
I fail to see any reason or purpose for a "umount" function.
Its the Eject that is needed.
Eject under Windows 7 and Gnome Nautilus works. Unmount does not really do anything but flush to disk and close files. The unit still thinks its connected when you use unmount.
Yep, just talked to our USB guys, and eject and umount are two separate operations. It seems that Nautilus: 'Eject' == umount, eject Windows: 'Safely Remove == umount, eject KDE: 'Safely Remove' == umount
Finally a developer who understands! You have no Idea how long I've been shopping this problem around Will. The above table almost matches my experience: However Windows Safely Remove on later platforms (win 7) really is simply unmount. (no Eject) There is a system option in windows 7 to mount in "Performance mode" or "Quick Removal mode". In QR, (the default), the tray icon only does a Unmount. But Eject is still available in Win Explorer. http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/784e9c99... What's the chance of having The Device Notifier support an Eject and also Dolphin? -- _____________________________________ At one time I had a Real Sig. Its been downsized. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2010. április 9. 12:02 napon Will Stephenson
On Friday 09 April 2010 07:26:49 John Andersen wrote:
On 4/8/2010 9:51 PM, Patrick Shanahan wrote:
I fail to see any reason or purpose for a "umount" function.
Its the Eject that is needed.
Eject under Windows 7 and Gnome Nautilus works. Unmount does not really do anything but flush to disk and close files. The unit still thinks its connected when you use unmount.
Yep, just talked to our USB guys, and eject and umount are two separate operations. It seems that Nautilus: 'Eject' == umount, eject Windows: 'Safely Remove == umount, eject KDE: 'Safely Remove' == umount
My Garmin Edge shows the battery level after having been 'Safely Removed' under windows, but still shows the 'PC connected' display after doing so in KDE. I'll investigate adding an eject to KDE.
Thank you all for your answers. If " KDE: 'Safely Remove' == umount", why is the drive's icon removed from the desktop after 'safely remove' action? It makes it impossible to mount the drive again without physically un- and replugging it. The icon should stay on the desktop and indicate the drive's unmounted state similar to CD/DVD icons. Is it possible to make such an icon, how? I am using KDE 3.5. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
Istvan Gabor
-
John Andersen
-
Patrick Shanahan
-
Tejas Guruswamy
-
Will Stephenson