add to the kernel TODO

thoth@purplefrog.com
Fri, 26 Feb 1999 10:46:10 -0500


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

When the user presses the eject button on an LS-120 or CDROM, it
doesn't work when the device is mounted. This is good. However, it
would be nice if the autofs module could be notified and so it could
perform an unmount followed by an eject.

It is possible that processes with open descriptors on the device
would prevent this. Obviously you shouldn't unmount or eject in that
instance.

The other thing is "what happens when the eject isn't a request?" as
with old floppy drives. If you wanted to get clever you could "detect
disk change" and force unmount the device (possibly killing processes)
with a kernel message about lost data.

-- 
Bob Forsman                                   thoth@gainesville.fl.us
           http://www.gainesville.fl.us/~thoth/

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