Subject: Re: Pluged : USBd for NetBSD ?
To: Hubert Feyrer <hubert@feyrer.de>
From: Gary Thorpe <gathorpe79@yahoo.com>
List: tech-kern
Date: 01/19/2005 16:13:36
--- Hubert Feyrer <hubert@feyrer.de> wrote:
> On Wed, 19 Jan 2005, Jukka Marin wrote:
> > I would love such a thing. Especially if the system could cope
> with the
> > user disconnecting the USB device / removing the removable media
> without
> > doing umount first.
>
> Indeed. Things this could handle:
> * network interfaces (ifwatchd?)
> * removable devices like CDs, floppies (amd?)
> * USB and firewire devices: disks, network
> * PCMCIA/Cardbus devices: disks(?), network
>
> Seems like a call for a bigger framework... :)
What is the system supposed to do if you remove the storage without
unmounting it? Just discard all buffered data (including metadata) and
return an error for future requests? I agree that it should panic in
this case, but really the user is asking for trouble if they do this.
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca