From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 00:13:52 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 57F6116A4CF for ; Sun, 26 Sep 2004 00:13:52 +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 9EACD43D45 for ; Sun, 26 Sep 2004 00:13:51 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (localhost [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id EF8CC308 for ; Sun, 26 Sep 2004 02:13:49 +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 27484-06 for ; Sun, 26 Sep 2004 02:13:48 +0200 (CEST) Received: from merlin.intranet (merlin.intranet [10.0.0.16]) by maxlor.mine.nu (Postfix) with SMTP id 8B800C0 for ; Sun, 26 Sep 2004 02:13:48 +0200 (CEST) Date: Sun, 26 Sep 2004 02:13:47 +0200 From: Benjamin Lutz To: freebsd-current@freebsd.org Message-Id: <20040926021347.721a025f.benlutz@datacomm.ch> In-Reply-To: <20040925132430.C65556@carver.gumbysoft.com> References: <41555396.4030009@fer.hr> <20040925132430.C65556@carver.gumbysoft.com> 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_02_13_47_+0200_li_mxb==xC/+co7b" 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 00:13:52 -0000 --Signature=_Sun__26_Sep_2004_02_13_47_+0200_li_mxb==xC/+co7b Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit > panic. > > You must unmount volumes before removing them from the system. Otherwise > there is unflushed dirty data that will get lost, causing data > corruption on the volume. You will get a panic since the system doesn't > know what to do with the data and wants to avoid causing any further > damage. Seems that in this case panicing does more damage, instead of of just the not yet flushed data on the usb stick, you lose everything you've just been working on that's not yet been saved to disk. Sure, it probably does wonders for user education... Seriously though, can't this be changed? When I find myself in the situation of having unplugged my usb stick, it appears there's nothing I can do to rectify the situation, except ignore the mounted file system. Not exactly a comfortable position for a unix system admin. Unfortunately, I'm not a kernel hacker. Benjamin --Signature=_Sun__26_Sep_2004_02_13_47_+0200_li_mxb==xC/+co7b Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBVgm+gShs4qbRdeQRAlvgAJ9d89VL/rlkkPLOlkvz0hlIWHzPgACeIC4s YeNxIko/ljIJiIxTiDaBLFA= =g4X4 -----END PGP SIGNATURE----- --Signature=_Sun__26_Sep_2004_02_13_47_+0200_li_mxb==xC/+co7b--