DragonFly BSD
DragonFly users List (threaded) for 2005-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: D-BUS, anyone?

From: Ivan Voras <ivoras@xxxxxx>
Date: Wed, 07 Dec 2005 02:20:14 +0100

The response I got on the FreeBSD lists at that time was it would
involve major rearchitecting of something else (not VFS) since the
kernel assumes that a device, once detected, will always be there and
will not be abruptly yanked out...

From what I know about GEOM (the storage device handling layer which I 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 years).

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