From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 15:08:30 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79FAA106566C for ; Wed, 11 Mar 2009 15:08:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 25CC58FC1B for ; Wed, 11 Mar 2009 15:08:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n2BF8KrV019036; Wed, 11 Mar 2009 16:08:20 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n2BF8K8q019033; Wed, 11 Mar 2009 16:08:20 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 11 Mar 2009 16:08:20 +0100 (CET) From: Wojciech Puchar To: Peter Steele In-Reply-To: <10423240.561236782522127.JavaMail.HALO$@halo> Message-ID: References: <10423240.561236782522127.JavaMail.HALO$@halo> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: How to auto-detect a USB drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 15:08:30 -0000 devd.conf On Wed, 11 Mar 2009, Peter Steele wrote: > I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >