panic after removing usb flash drive

Daniel O'Connor doconnor at gsoft.com.au
Wed Aug 31 03:37:02 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050831/0d4d610e/attachment.bin


More information about the freebsd-current mailing list