Messages in this thread |  | | | Subject | Re: Notification to user-space upon CD eject button being pressed? | | From | Nicolai Langfeldt <> | | Date | 25 Mar 1998 11:00:58 +0100 |
| |
Brian Rogers <brogers@why.net> writes: > > With IDE CDs, anyway, it isn't possible for us to do this -- the drive > > doesn't tell us. We can have the drive be locked or unlocked, but in > > unlocked position, it ejects before telling us anything, and in locked > > position, it doesn't tell us when the button is pressed. > > Maybe the kernel could lock the drive whenever any inodes are in use, but > unlock it as soon as none are in use anymore. Then it wouldn't matter > that IDE CD-ROM drives only notify you after the disk has been ejected, > because you'll be able to cleanly unmount the filesystem regardless. ...
This sounds like the supermount patch. It's been mentioned here some times. I think Stephen Tweedie wrote it.
Nicolai
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
|  |