Sat Aug 1 23:39:12 PDT 2015
would very like to see everywhere, *BSD or not :) ), disklike-device
plugging and unplugging (actually "appearing and disappearing") is
handled as a normal-and-expected event but the upper layers (e.g. the
filesystem) don't propagate the handling.
At this time, it seems that the remaining assumption is that "a
filesystem, once mounted, will remain so until root executes umount or
the power fails". And IIRC the problems are also there with readonly- or
sync- mounted filesystems so it's not only about uncommitted buffers.
I just checked: on a 5-stable box, unplugging a sync-mounted usb drive
leaves the (msdosfs) filesystem apparently mounted, as shown by the
'mount', 'df' and similar commands. 6-stable should be the same.
Linux and Windows have solved these problems a long time ago (several
More information about the Users