On Thu 11 Feb 2016 at 10:49:43 (-0800), Patrick Bartek wrote: > On Tue, 09 Feb 2016, David Wright wrote: > > > On Tue 09 Feb 2016 at 09:00:50 (-0800), Patrick Bartek wrote: > > > On Tue, 09 Feb 2016, Me wrote: > > > > > > > Le lundi 08 février 2016 à 13:50 -0800, Patrick Bartek a écrit : > > > > > 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. > > > > > > > > Just because you didn't lose data doesn't mean it's safe. All > > > > systems are known to use caching, and GNOME frequently informs > > > > me, after having asked to unmount my key, that I shouldn't unplug > > > > it until it has finished to write data on it. > > > > > > Yes, I know about caching, but on my system read/writes to removable > > > devices are almost instantaneous. So, there's been no problems. > > > 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. > > > > Apart from not pulling the plug early, what pitfalls are you avoiding > > with your carefully crafted udev rule? > > In 3 years of use, I've experienced no problems. Why does no one > believe me? And as far as "carefully crafted," I just modified a rule > that was designed exclusively for flash/thumb drives by following the > "manual."
I didn't express any disbelief. I've pulled the plug accidently on occasion and usually find it unmounts ok so long as I haven't tried to use the missing device (which can be as simple as switching panes in mc). But I was interested in your rule because I haven't touched /etc/udev/rules.d/ except to clean stale entries when swapping NICs or optical drives. Again, you write "you should do some research on udev and writing rules yourself", but I prefer learning by example rather than trying to reinvent the wheel. Cheers, David.