Please test AutoUnmountNotifications implementation

Simon Law sfllaw at ubuntu.com
Thu Aug 10 21:29:02 BST 2006


On Tue, Aug 08, 2006 at 06:22:10AM +0100, Scott James Remnant wrote:
> On Fri, 2006-08-04 at 08:36 +0200, Martin Pitt wrote:
> 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.

This is what System 6 used to do.

Cheers,
-- 
Simon Law                                 http://www.law.yi.org/~sfllaw/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060810/68e7fa13/attachment.pgp 


More information about the ubuntu-devel mailing list