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

Re: GNOME Shell can't unmount my USB key



On Mon, 08 Feb 2016, tomas@tuxteam.de wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sun, Feb 07, 2016 at 03:20:22PM -0800, Patrick Bartek wrote:
> > On Sun, 07 Feb 2016, Me wrote:
> > 
> > > Hello,
> > > 
> > > In GNOME Shell, when I click on the "Eject" option in the
> > > notification bar to unmount my USB key, it unmounts correctly and
> > > then immediately mounts again, as if I just plugged it.
> > > 
> > > It happens only with the Kingston DataTraveler I own. I've tried
> > > on several desktops, and it seems to happen only with GNOME
> > > Shell. MATE, XFCE, and Ubuntu with Unity don't have the issue.
> > > And when I unmount it with Nautilus, it stays unmounted, as it
> > > should.
> > > 
> > > This bug is annoying, as I can't be sure that nothing is writing
> > > on my key before unplugging it.
> > > 
> > > I want to find the cause, and if necessary write a bug report. I
> > > need advice : should I report the bug to Debian or GNOME ? What
> > > additional information could I provide that could help ?
> > > 
> > > Obviously, if someone has a way to fix this without reporting a
> > > bug, I would also be happy to read it.
> > 
> > You shouldn't have to "eject" it all.  Just plug it in and when
> > done, pull it out. The system should mount and unmount it
> > automatically. We're not talking Windows here.
> 
> This seems like *very* bad advice. The system keeps a cache[1] of the
> data in the USB and flushes this cache only from time to time (that's
> what makes accesses to the otherwise slow USB pretty fast).

Perhaps in days gone by: my OS prior to Wheezy -- Fedora 12 --
was like that. Anything USB had to be mounted/unmounted manually.
What a pain.  And if you unplugged without unmounting . . .  Yes, things
could break. But with Wheezy which I've been using for 3+ years have
had no problems with just plug/unplug. The only precaution is to check
the drive activity light isn't flickering.

Of course, my install of Wheezy is very custom and minimal: for the GUI
just a window manager, Openbox.  And I custom wrote my own udev rules
for handling USB devices -- thumb drives, cell phones, eBook reader,
etc. But a regular desktop should be set up to do the same thing,
safely.

If the OP's GNOME Shell is not doing this, but other desktops are, then
GNOME might be the problem.

B


Reply to: