Re: panic after removing usb flash drive
From: Eric Anderson (anderson_at_centtech.com)
Date: 08/31/05
- Previous message: Dominique Goncalves: "make distribution fails with RELENG_6 on a 5.4-RELEASE-p6 host"
- In reply to: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Next in thread: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Reply: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Aug 2005 07:49:27 -0500 To: "Daniel O'Connor" <doconnor@gsoft.com.au>
Daniel O'Connor wrote:
> 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)
>
Why not just use the automounter to mount/umount this for you? This
probably won't get around umounting while in use, but you might be able
to tell amd to use a umount -f on it.
Eric
-- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Dominique Goncalves: "make distribution fails with RELENG_6 on a 5.4-RELEASE-p6 host"
- In reply to: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Next in thread: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Reply: Daniel O'Connor: "Re: panic after removing usb flash drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|