Re: Of removable devices

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Feb 16 2000 - 17:53:53 EST


On 16 Feb 2000, david parsons wrote:

> >Ahem... OK, does anyone else see something strange in words "OS popped up
> >a dialog"?
>
> No.
>
> On a real operating system, the OS would simply notify userland, which
> would do whatever it wanted to do. A sensible userland might then
> spit out a dialog telling the user to put the disk in question back into
> the machine, or it might ignore the frantic request from the kernel,
> at which point the OS would return EYOULOSE to the poor process that
> tried to access the no longer existing process.
>
> Think about kerneld/kmod/whatever it is this week.

Oh, _please_! kmod is the last thing you want here. _If_ you are going to
go this way at all, use select() or poll().

-- 
Why invent magical interfaces when there are regular ones? Sheesh...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:16 EST