accidental usb disconnect doesnt unmount

Bug #239294 reported by spanella
2
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Incomplete
Undecided
Gabriel Ruiz

Bug Description

if i accidentally remove my external usb drive without unmounting it first, Ubuntu never responds by unmounting it and the icon stays on my desktop. Therefore when i remount the drive, i then have 2 on my desktop by the same name. Before a message would come up about unsafe removal and the drive would be removed, but this is no longer happening.

Ubuntu 8.04

Revision history for this message
Gabriel Ruiz (anakron) wrote :

Hi!

        You MUST unmount your flash drives with eject or unmount, it appears when you do a right click in the icon of your drive. If you dont do it, you pendrive and your USB port can get "burn" and get useless. Your computer will still thinking that your usb drive is connected and the icon will not disappear.

Bye

Revision history for this message
spanella (spanella) wrote :

yes i'm aware of the correct way. accidental unplugging happens though and it used to be handled gracefully with a warning and unmounting the drive in Gutsy. doesn't seem to be working since moving to Hardy.

Revision history for this message
Jamie Bennett (jamiebennett) wrote :

A sudo umount does remove the drive correctly even when the device isn't attached and in fact it's seems this is the only way that the device can be re-recognised.

New users aren't going to umount a device before unplugging it. Can there be no mechanism for auto detection of this?

BTW its the same for SD cards on my laptops SD reader.

Revision history for this message
fubarbundy (launchpad-mailtic) wrote :

What year is this, 1990? Linux KNOWS that the USB device has been disconnected - unmount it. This worked fine in 7.10, was broken in 8.04 and still is broken in 8.10.

And saying that yanking a USB drive will make it useless is disingenuous - at least once writing is finished, it is nigh-impossible to damage a USB drive by unexpectedly unplugging it (<0.1% of unplugs, maybe).

Revision history for this message
Phillip Susi (psusi) wrote :

This seems to be working fine now, are you still able to reproduce this?

Changed in util-linux (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.