Requests for information/possible donation endpoint.
    Colin Percival 
    cperciva at freebsd.org
       
    Sun Jul 17 00:08:52 GMT 2005
    
    
  
Mateusz Jedrasik wrote:
> Also, I dont want to sound "linuxy" here, but it could be nice with a way that 
> ata bus drivers could inform userland programs somehow when the tray of a 
> cd/dvd has closed - so it would be possible to automount stuff like cd's upon 
> closure of tray, and perhaphs upon the pressing of the eject button, 
> automatic unmounts if the medium is not currently used by any process.
There is already a mechanism available for doing this: devd.  I don't know if
the ata drivers send the necessary messages, and I'm pretty sure that there
isn't anything in userland which listens for those messages; but all of the
infrastructure is there.
Colin Percival
    
    
More information about the freebsd-current
mailing list