Date: Sat, 16 Jul 2005 17:08:48 -0700 From: Colin Percival <cperciva@freebsd.org> To: Mateusz Jedrasik <imachine@toya.net.pl> Cc: freebsd-current@freebsd.org Subject: Re: Requests for information/possible donation endpoint. Message-ID: <42D9A190.5060401@freebsd.org> In-Reply-To: <200507170157.04718.imachine@toya.net.pl> References: <200507170157.04718.imachine@toya.net.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D9A190.5060401>