From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 16:21:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD1716A4CE for ; Sun, 26 Sep 2004 16:21:20 +0000 (GMT) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAC1943D41 for ; Sun, 26 Sep 2004 16:21:19 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (localhost [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id 00DE4313 for ; Sun, 26 Sep 2004 18:21:17 +0200 (CEST) Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (midgard [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33642-03 for ; Sun, 26 Sep 2004 18:21:15 +0200 (CEST) Received: from merlin.intranet (merlin.intranet [10.0.0.16]) by maxlor.mine.nu (Postfix) with SMTP id 1055418C for ; Sun, 26 Sep 2004 18:21:15 +0200 (CEST) Date: Sun, 26 Sep 2004 18:21:13 +0200 From: Benjamin Lutz To: freebsd-current@freebsd.org Message-Id: <20040926182113.7ccffc2c.benlutz@datacomm.ch> In-Reply-To: <200409261036.49484.Lucas.James@LDJcs.Com.Au> References: <41555396.4030009@fer.hr> <20040926021347.721a025f.benlutz@datacomm.ch> <20040926005943.GA61350@parodius.com> <200409261036.49484.Lucas.James@LDJcs.Com.Au> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.9; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/" X-Virus-Scanned: by amavisd-new at maxlor.mine.nu Subject: Re: USB memory stick hotswap problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 16:21:20 -0000 --Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit > We should be telling the kernel at some point that this is a removable > device, and not have the kernel complain if we umount it when the device > has already disappeared (assuming that we have mounted it with -o sync). Even if it's mounted async, the kernel should just shrug, flush the now useless stuff from memory, and get on with it's live. Maybe a log entry could be made when there's still unwritten data that has now been lost. I'm anxious to see what phk comes up with :) Benjamin --Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBVux8gShs4qbRdeQRAu0uAKCA9wZwPEpiW5dL7sf21Ae1eRQ77ACePl32 1M6SPXnkZ8j77gPQOcV86j4= =KtRz -----END PGP SIGNATURE----- --Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/--