Re: add to the kernel TODO

jens@pinguin.conetix.de
Sun, 28 Feb 1999 22:47:09 +0100


On Fri, Feb 26, 1999 at 10:46:10AM -0500, thoth@purplefrog.com wrote:

> The autofs module should respond to "media eject" requests.

the trouble is, however, (AFAIunderstood it) that the drive can only tell
the kernel "hey, my media is out" and not "I am about to eject".
Subsequently, the kernel cannot shout "stop, I have to close files first" -
which would be necessary.

Can the kernel get 'eject media' requests if the drive is locked? then the
problem would be solved. I.e.

- user pushes button
- nothing happens first (logically)
- kernel/autofs/.. receives "oh, the user wants to change media"
- if no files are open "umount && eject"

Another thing that would be very nice is for the mounting process to be
activated on disk _change_ not on first access.

-- 
_ciao, Jens_______________________________ http://www.pinguin.conetix.de
    cat /dev/boiler/water | tea | sieve > /cup
    mount -t hdev /dev/human/mouth01 /mouth ; cat /cup >/mouth/gulp

- 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/