On Tue, 09 Feb 2016, Me wrote: > Le mardi 09 février 2016 à 09:00 -0800, Patrick Bartek a écrit : > > Yes, I know about caching, but on my system read/writes to removable > > devices are almost instantaneous. > > Maybe it's just luck ? As I said, I frequently get a message from > GNOME saying the writes are not finished, and that although the drive > disappeared from the menus, I have to let it plugged. Especially when > I write large amounts of data. Which happens frequently, because it's > my backup drive. > > > However, I did write my on udev rule to do the mounting/unmounting, > > and this was after reseaching expert advice on how to do it > > properly. > > Can you explain how your udev manages to "unmount properly" when the > drive has already been unplugged ?
No, I can't. But it does, and generates no errors. > Or do your rules just disable caching ? I could do that, but that > doesn't prevent some program from writing on my disk when I want to > unplug it. I didn't specifically disable caching. At the time, didn't even occur to me. Perhaps, you should do some research on udev and writing rules yourself. Although, shortly after going to the trouble myself I found a couple of utilities (udisks & udisks-glue) that do the same thing. But since I had already written the rule, I didn't install the utilities. A point of order here: All this applies to Wheezy; I don't know now that Debian has adopted systemd and udev has it as a dependency that all this will work the same. B