From owner-freebsd-current@FreeBSD.ORG Sun Jul 17 00:08:52 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3FDD16A41C for ; Sun, 17 Jul 2005 00:08:52 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D6D43D46 for ; Sun, 17 Jul 2005 00:08:50 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd4mr1so.prod.shaw.ca (pd4mr1so-qfe3.prod.shaw.ca [10.0.141.212]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IJQ00810WEP1290@l-daemon> for freebsd-current@freebsd.org; Sat, 16 Jul 2005 18:08:49 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd4mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IJQ00093WEPX1C0@pd4mr1so.prod.shaw.ca> for freebsd-current@freebsd.org; Sat, 16 Jul 2005 18:08:49 -0600 (MDT) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.209.6]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IJQ00F5TWEP79@l-daemon> for freebsd-current@freebsd.org; Sat, 16 Jul 2005 18:08:49 -0600 (MDT) Date: Sat, 16 Jul 2005 17:08:48 -0700 From: Colin Percival In-reply-to: <200507170157.04718.imachine@toya.net.pl> To: Mateusz Jedrasik Message-id: <42D9A190.5060401@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <200507170157.04718.imachine@toya.net.pl> User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050714) Cc: freebsd-current@freebsd.org Subject: Re: Requests for information/possible donation endpoint. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 00:08:52 -0000 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