From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 03:37:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 2748516A41F for ; Wed, 31 Aug 2005 03:37:02 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB2A43D55 for ; Wed, 31 Aug 2005 03:37:00 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.31]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j7V3ak2A092813 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 31 Aug 2005 13:06:52 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Wed, 31 Aug 2005 13:06:46 +0930 User-Agent: KMail/1.8.1 References: <1125452228.740.3.camel@arbitor.homelinux.com> <47d0403c05083020044f6ac0be@mail.gmail.com> In-Reply-To: <47d0403c05083020044f6ac0be@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3855473.0QIpjHGBHX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508311306.46876.doconnor@gsoft.com.au> X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: Kyle Brooks , Ben Kaduk Subject: Re: panic after removing usb flash drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 31 Aug 2005 03:37:02 -0000 --nextPart3855473.0QIpjHGBHX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 31 August 2005 12:34, Ben Kaduk wrote: > Of course, if you did unmount the filesystem before pulling the drive, th= en > this shoule be looked into. IMHO it would be really nice if you could tell the kernel that it should ju= st=20 ditch the data (and whine to the log file) instead of panicing. =46or your "main" file systems the panic approach is sensible, but for remo= vable=20 things it's more likely to cause data loss I think (because the panic could= =20 eat data on your other drives). Although last time I saw this discussed I came away with the impression tha= t=20 it wasn't possible for the kernel to do this..? (without substantial work=20 anyway) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3855473.0QIpjHGBHX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDFSXO5ZPcIHs/zowRAkomAJ9QLe0NWPOuNZt3bps9WJv7fSaVNwCeMAn6 lj8cxOOehWU4+j7Ow/Ik9lw= =cyPY -----END PGP SIGNATURE----- --nextPart3855473.0QIpjHGBHX--