Ubuntu QA:
BlogBrainstorm
Log in
Ubuntu QA
The Ubuntu community has contributed 12232 ideas, 57574 comments, 1174524 votes

Idea #9678: "Device is now safe to remove" message should only appear once per USB device



up
165
down
Written by jsereno the 9 Jun 08 at 08:50. Category: Accessibility.
Related to: Nothing/Others. Status: New
Description
It seems that the "Device is now safe to remove" pop-up message, when unmounting a USB device such as a flash drive, assumes that you only have one partition on said device. If you have two or more partitions, it shows up a separate "Device is now safe to remove" message for each volume you unmount, and if you do them all in succession, you get the pop-ups stacked neatly on top of each other in the corner of your screen (observed on Hardy 32-bit and 64-bit).

This presents problems for new users - if you've unmounted one volume, but not another on the same USB device, then the device is clearly not safe for disconnecting yet and the pop-up message is misleading.

Additionally, safely unmounted USB devices still appear in Gnome's "Computer" window (Places->Computer), but finally disappear when you physically disconnect the USB device. This can confuse users as well.

Finally, the way Ubuntu disconnects USB devices seems to be different to how Windows does it. Even though Ubuntu is satisfied that the device has been safely disconnected, the device itself believes otherwise. A typical example is pretty much any Nokia mobile phone that can act as a USB flash device such as a Nokia N95 - upon disconnecting the USB cable after a successful unmount, the phone insists that the disconnection was unclean and that "data could be lost". It only records a clean disconnection from Ubuntu if you perform a shutdown on Ubuntu (suggesting that the phone is only satisfied when the USB stack is finally shutdown). Not a big deal for experienced users who know that a safe disconnection did occur, but will certainly send new users into panic stations.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
frogitts wrote on the 9 Jun 08 at 10:01
+1 This is definitely not something I would have thought of, but I agree. This goes well with the stack of ideas on the topic "Make USB devices work better!"

Moderator droetker (Moderator) wrote on the 9 Jun 08 at 10:09
In windows, if you remove an usb disk with 2 partitions, it says "remove usb disk (E:,F:)" or similar.

This would be good in Ubuntu as well, to remove the whole drive as one (and unmount all partitions on it automatically), not partition for partition.
So +1, very good idea.
And make it in KDE AND GNOME! ;-) (and XFCE?)

melhor wrote on the 9 Jun 08 at 14:02
This is definitively not a missing feature, but a major security problem. I haven't thought of it either.
Any beginner would remove the device from the usb-port as soon as the message "Device is now safe to remove" shows up if only one out of many partitions is released.

n2 wrote on the 9 Jun 08 at 14:10
-1
Any beginner should not have more than one partition on a USB device. If they don't know how to properly use it they probably don't need it.
This idea also would cause problems for more advanced users as they would be forced to use the CLI for umounting a single partition.

Auzy wrote on the 9 Jun 08 at 14:57
You read it wrong. You can still eject specific partitions. At the moment it says you can "remove the device", even if there is 1 left mounted. Thats a bug, because if there are still partitions mounted, then its not really safe..

And why would an advanced user want to unmount just a single partition n2? Its actually pretty rare (maybe for backup? But not really). But that's irrelevant anyway.

vexorian wrote on the 10 Jun 08 at 04:47
I think this works better as a bug report


Post your comment