Re: Of removable devices

From: david parsons (orc@pell.portland.or.us)
Date: Wed Feb 16 2000 - 15:15:39 EST


In article <linux.kernel.Pine.GSO.4.10.10002161324530.13707-100000@weyl.math.psu.edu>,
Alexander Viro <viro@math.psu.edu> wrote:
>
>
>On Wed, 16 Feb 2000, David Balazic wrote:
>
>> AmigaOS just polled the line to detect insertions and removals.
>
>Wonderful. And how frequent the polling was?
>
>> it would mount as another logical volume. Now when there was a need to
>> access
>> the first floppy, the OS popped up a dialog ( a requester, in amiga
>> terminology :-)
>> saying "Insert volume Linux_help_disk into any drive". When the user
>
>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.

                 ____
   david parsons \bi/ Not exactly rocket science here.
                  \/

-
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