Please test AutoUnmountNotifications implementation

Scott James Remnant scott at ubuntu.com
Tue Aug 8 06:22:10 BST 2006


On Fri, 2006-08-04 at 08:36 +0200, Martin Pitt wrote:

> Right before the Paris developer summit I discovered
> 
>   https://wiki.ubuntu.com/AutoUnmountNotifications
> 
> and since this question comes up from time to time, I think it's a
> good idea and might help a little. Summary:
> 
>   "When users remove a device from their computer, such as a USB
>   stick, and the device they removed is not unmounted, the desktop
>   should pop up a warning to the user not to remove devices without
>   first unmounting them due to possible data loss and/or corruption."
>  
I still can't help but wonder whether there is a way to determine
whether the block devices just ripped out were dirty or not, and only
show the message if they were.

If that's possible, then it may even be possible to hold the dirty
blocks in memory and put up a message more like.

  "You have removed a device for which writes were not completed.
   Plug the device back in now, or you will lose that data."

Followed by the "usually you should unmount".  If they plug the device
back in, the dirty blocks are written out to it; if they dismiss the
dialog, they lose the blocks.

Scott
-- 
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060808/b14a17d4/attachment-0001.pgp 


More information about the ubuntu-devel mailing list