From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 15:13:47 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 92659106572A for ; Wed, 11 Mar 2009 15:13:47 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by mx1.freebsd.org (Postfix) with SMTP id 407D38FC1D for ; Wed, 11 Mar 2009 15:13:46 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from source ([209.85.198.232]) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSbfVKQrrugbrxil2yxsjGu4YSf4t1MMh@postini.com; Wed, 11 Mar 2009 08:13:47 PDT Received: by rv-out-0506.google.com with SMTP id k40so42651rvb.21 for ; Wed, 11 Mar 2009 08:13:45 -0700 (PDT) Received: by 10.141.62.9 with SMTP id p9mr3673904rvk.86.1236784425637; Wed, 11 Mar 2009 08:13:45 -0700 (PDT) Received: from localhost ([76.231.178.131]) by mx.google.com with ESMTPS id b39sm13075075rvf.9.2009.03.11.08.13.44 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Mar 2009 08:13:45 -0700 (PDT) Date: Wed, 11 Mar 2009 08:13:16 -0700 (PDT) From: Peter Steele To: Wojciech Puchar Message-ID: <28261019.721236784394267.JavaMail.HALO$@halo> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:13:49 -0000 This looks like it will do exactly what I need. Thanks for the pointer! ----- Original Message ----- From: "Wojciech Puchar" To: "Peter Steele" Cc: questions@freebsd.org Sent: Wednesday, March 11, 2009 8:08:20 AM GMT -08:00 US/Canada Pacific Subject: Re: How to auto-detect a USB drive? 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" > >