Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 07:43:00 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Julian Stacey <jhs@berklix.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: How to get usbd to umount fle systems without crashing ?
Message-ID:  <20040914144300.GA18715@odin.ac.hmc.edu>
In-Reply-To: <200409141058.i8EAwbSm001391@laps.jhs.private>
References:  <200409141058.i8EAwbSm001391@laps.jhs.private>

next in thread | previous in thread | raw e-mail | index | archive | help

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBRwNzXY6L6fI4GtQRAt9QAKDhSbILE3bzaxEEJuLM7pnl2gtPcQCgx0Tz
kn/T46AqLP+U71H8M5EchYc=
=9oen
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040914144300.GA18715>