From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 14 14:42:16 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAFDA16A4CE for ; Tue, 14 Sep 2004 14:42:16 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D9C43D1D for ; Tue, 14 Sep 2004 14:42:16 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i8EEh0G9003011; Tue, 14 Sep 2004 07:43:00 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8EEh04H003010; Tue, 14 Sep 2004 07:43:00 -0700 Date: Tue, 14 Sep 2004 07:43:00 -0700 From: Brooks Davis To: Julian Stacey Message-ID: <20040914144300.GA18715@odin.ac.hmc.edu> References: <200409141058.i8EAwbSm001391@laps.jhs.private> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <200409141058.i8EAwbSm001391@laps.jhs.private> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-mobile@freebsd.org Subject: Re: How to get usbd to umount fle systems without crashing ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 14:42:16 -0000 --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--