From owner-freebsd-newbies Mon Jan 13 7:21:26 2003 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3605737B401 for ; Mon, 13 Jan 2003 07:21:26 -0800 (PST) Received: from txsmtp02.texas.rr.com (smtp2.texas.rr.com [24.93.36.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F5AE43F18 for ; Mon, 13 Jan 2003 07:21:20 -0800 (PST) (envelope-from foxbsd@gristle.to) Received: from oct.gristle.to (cs242730-125.austin.rr.com [24.27.30.125]) by txsmtp02.texas.rr.com (8.12.5/8.12.2) with ESMTP id h0DFJE5E006390 for ; Mon, 13 Jan 2003 10:19:15 -0500 (EST) Message-Id: <5.0.2.1.0.20030113091738.02802130@pop-server.austin.rr.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 13 Jan 2003 09:20:30 -0600 To: freebsd-newbies@FreeBSD.ORG From: Fox Subject: detecting open cd drive In-Reply-To: <20030110031616.359a7dcc.one-@madridwireless.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Is there a way to detect that the cdrom drive has been closed from userland. I want to launch a script triggered by the cdrom drive tray closing. I am using FreeBSD 4.7 Thanks, Dudley Fox To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message