Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 13:06:46 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        Kyle Brooks <captinsmock@columbus.rr.com>, Ben Kaduk <minimarmot@gmail.com>
Subject:   Re: panic after removing usb flash drive
Message-ID:  <200508311306.46876.doconnor@gsoft.com.au>
In-Reply-To: <47d0403c05083020044f6ac0be@mail.gmail.com>
References:  <1125452228.740.3.camel@arbitor.homelinux.com> <47d0403c05083020044f6ac0be@mail.gmail.com>

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

[-- Attachment #1 --]
On Wednesday 31 August 2005 12:34, Ben Kaduk wrote:
> Of course, if you did unmount the filesystem before pulling the drive, then
> this shoule be looked into.

IMHO it would be really nice if you could tell the kernel that it should just 
ditch the data (and whine to the log file) instead of panicing.

For your "main" file systems the panic approach is sensible, but for removable 
things it's more likely to cause data loss I think (because the panic could 
eat data on your other drives).

Although last time I saw this discussed I came away with the impression that 
it wasn't possible for the kernel to do this..? (without substantial work 
anyway)

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDFSXO5ZPcIHs/zowRAkomAJ9QLe0NWPOuNZt3bps9WJv7fSaVNwCeMAn6
lj8cxOOehWU4+j7Ow/Ik9lw=
=cyPY
-----END PGP SIGNATURE-----
help

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