[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing USB memory



On Thu, Jul 13, 2006 at 12:36:51PM -0400, H.S. wrote:
> Magnus Therning wrote:
> >I'm running a GNOME desktop on a Debian Sid system.
> >
> >I've noticed that if I right-click a USB memory stick icon on the
> >desktop and choose "Unmount Volume" the icon disappears immediately.
> >However the device may be busy in the background, and if I remove the
> >stick too early files copied to the stick may not "have arrived yet"
> >(the sync isn't done yet).
> >
> >I've found two ways around it:
> >
> > 1. Unmount in a shell using `pumount'.
> > 2. Keep a system monitor in the panel and have it show disk activity.
> >
> >Is there any other way?
> >I'd kind of like a brief notification at the end informing me that the
> >device is fully unmounted.
> >
> >/M
> >
> 
> I usually use KDE and I see that by unmounting a USB device from its 
> icon on the desktop, the icon seems to stay as long as the USB stick's 
> activity LED keeps blinking. For large files (images), I have noticed 
> that the icon stays on the desktop for quite a few seconds. Never had 
> corruption on the USB stick. So it appears KDE removes the icon of a USB 
> device only when the sync is complete. I am surprised Gnome doesn't do 
> so.

It does on my system.  The icon will not be removed from the Gnome
destop until umount completes.

In other words, this is not a Gnome vs. KDE issue. It appears to be
a configuration issue.

> BTW, I let udev mount the pluggable devices automatically. If you 
> are using fstab to do so, you can fix the mount options to set sync to 
> happen every time the USB device is accessed.

This, however, may be the issue: your system may be misconfigured, or
this undesirable behaviour may be a result of the file system you
are using on your USB device.

So the question is: what file system do you have on the device that
disappears immediately when you umount it, and if applicable, what
are your fstab options for this device?

Finally, how do you have your system configured to automount hot
attached mass storage devices?

John S.



Reply to: