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

Re: GNOME Shell can't unmount my USB key



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Feb 11, 2016 at 10:49:43AM -0800, Patrick Bartek wrote:

[...]

> In 3 years of use, I've experienced no problems.  Why does no one
> believe me?

I *do* believe what you state above. I just *strongly* recommend
against the practice you propose. Anyone is, of course, free to
use my recommendations the way (s)he sees fit.

It's as simple as that: pulling out a still mounted medium is
risky, as the OS makes no guarantees about the state of the
cache. To be really effective, your udev rules would need the
ability to peek into the future, to unmount the USB stick a tad
before you're going to pull it out.

You can, of course, reduce the risk by waiting for the system
to be long enough in a "quiescent" state, by reducing the
complexity of the whole (Rube Goldbergian desktop systems
have lots of moving parts doing lots of things which tend to
make system behaviour less predictable), but your risk won't
disappear. If you want to get rid of this risk, unmount before
pulling.

I think we've stated our opinions clearly enough. I bow out.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAla9kuQACgkQBcgs9XrR2kZIMACbBv8FkaNk8wbSHZp0d+hyFvZs
yCgAn0YdKOCMFAHcfi6LPfY5St78yyF8
=UdK/
-----END PGP SIGNATURE-----


Reply to: