Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Desktop NetBSD needs your help



On Mon, 9 Feb 2009, Johnny Billquist wrote:

> David Holland wrote:
> > On Mon, Feb 09, 2009 at 12:07:33AM +0300, Aleksej Saushev wrote:
> >  > What happens if you pull out mounted USB flash medium? Kernel panics,
> > right?
> >  > Maybe not necessarily, but the probability is high then, right?
> >  > Do you defend, that this should be left as is, so that all R&C stuff,
> >  > who dared to choose NetBSD for its seemingly higher productivity and
> >  > easier maintainance, learnt painfully that one should manually umount
> >  > media as fast as possible?
> > 
> > This is a red herring, because that is not a desktop bug, that's a
> > storage-level (storage being a server-grade thing, remember) kernel
> > bug. The same thing happens with any removable media if you eject it
> > while it's mounted.
> > 
> > (It is also not trivial to sort out, which is why it remains live...)
> 
> It is also a double red herring in that you cannot design around the fact that
> removing an USB flash medium is a physical action. No software can stop you
> from doing that at the wrong time.
> You can just hope that the user is sensible enough to not do it while the
> device is mounted.

I frequently pull out USB flash devices (and even SD/MMC cards) that are 
still mounted. I never receive any panics.

Are there any PRs for the panics?

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr            '#-~'            '\-.-{'



Home | Main Index | Thread Index | Old Index