How to get usbd to umount fle systems without crashing ?

Brooks Davis brooks at one-eyed-alien.net
Tue Sep 14 07:42:16 PDT 2004


On Tue, Sep 14, 2004 at 12:58:37PM +0200, Julian Stacey wrote:
> Can usbd automatically umount file systems ? How ?
> I can automatically mount usb ram sticks from usbd (config below)
> but I crash the system when I unplug, even if I use mount -r on attach.

In short, "don't do that".  There is no mechanism at this point to
safely cleanup after removing media when buffers exist.  We hope to have
one some day, but that problem is highly non-trivial.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20040914/07b72edd/attachment.bin


More information about the freebsd-mobile mailing list