[Thunar-dev] Unmount removable devices systemtray app

Alexandre Moreira alexandream at gmail.com
Thu Feb 1 19:50:38 CET 2007


2007/2/1, Brian J. Tarricone <bjt23 at cornell.edu>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Alexandre Moreira wrote:
>
> > I don't own this kind of device (well, I do, but I hardly use it)  but
> > someone told me some time ago that this kind of action was not needed
> > because of the write-through cache linux uses in this kind of device
> > -- you would only need it to stop blinking to take it off, and it
> > would be already synced.
> >
> > Is this correct ?
>
> No no no no noooooooo.
>
> First of all, as someone already mentioned, the cache strategy is
> configuration-dependent.  Secondly, if you just pull the device, the
> filesystem will not get unmounted, which means it will need a fsck the
> next time you insert it (or journal recovery, depending on the
> filesystem).  While this often isn't a big deal, it can be.  If there
> are changes to the FS's superblock, they may not get flushed to disk.
>
> Please, never advocate things that you don't understand, especially when
> - -- as you admitted! -- if you're wrong, it can cause data loss.  If it
> really is true, likely someone else will know for sure.

This is exactly why I wasn't "advocating" anything, but asking for information.

>
>         -brian
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFFwjPX6XyW6VEeAnsRA0/8AJ9gCvy3xv3E0wMcBMFiNVcAX7yDZQCeL+Mu
> Moo4SFi7lLwjQpEoIXB+0ZA=
> =BtoJ
> -----END PGP SIGNATURE-----
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>



More information about the Thunar-dev mailing list