Subject: re: Pluged : USBd for NetBSD ?
To: matthew green <email@example.com>
From: Gary Thorpe <firstname.lastname@example.org>
Date: 01/22/2005 17:21:18
--- matthew green <email@example.com> wrote:
> What is the system supposed to do if you remove the storage
> unmounting it? Just discard all buffered data (including metadata)
> return an error for future requests? I agree that it should panic
> this case, but really the user is asking for trouble if they do
> why should the kernel panic? if the user does something stupid and
> they lose some data, that's their fault, but there's no reason to go
> panicking on them. that's lazy.
Sorry, I meant to say "should NOT panic". My point was that even with
usbd you cannot expect to unplug things like disks without letting the
system know about it before hand. Since you have to do something before
hand to keep your data, usbd wouldn't help for unplugging devices, just
automatic configuration when you plug them back in (would help with
pcmcia or maybe even hot-plug PCI).
> the older panic was *not* on purpose. it simply crashed ...
> note that sometimes you don't even have to "mean" to do this. the
> first time it happened to me (including the crash) was when i left
> my digicam plugged in and mounted on netbsd...and then the camera
> turned itself off, or ran out of battery... i was very non-plussed
> when this crash caused me to lose work ...
Post your free ad now! http://personals.yahoo.ca