Subject: Re: device attachement detection from userland
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-kern
Date: 10/16/2006 16:14:03
# Emmanuel Dreyfus 2006-10-16:
> Ignatios Souvatzis <is@netbsd.org> wrote:
>
> > AmigaOS (the DOS part) used to:
> >
> > - remind you to insert a volume into any drive when you accessed it for
> > reading/writing and it wasn't available
> >
> > - remind you to insert a volume INTO (the) DRIVE ${where it was before,}
> > (dammit, right now!) if some metadata weren't written yet when you removed
> > it.
>
> MacOS did that too, but how does that fit with Unix non interractive
> processes?
Send the event from kernel down a character device/socket, have an X
application read it and paint the window (or a deamon run a script)? :-)
-- Jachym