From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 17:17:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B156106567A for ; Sat, 24 Sep 2011 17:17:36 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 29B588FC24 for ; Sat, 24 Sep 2011 17:17:36 +0000 (UTC) Received: from atomizer (pool-72-77-28-206.pitbpa.fios.verizon.net [72.77.28.206]) by www6.pairlite.com (Postfix) with ESMTPSA id 3E039B85B; Sat, 24 Sep 2011 13:17:35 -0400 (EDT) Date: Sat, 24 Sep 2011 13:17:36 -0400 From: Rod Person To: Mike Clarke Message-ID: <20110924131736.77c1429d@atomizer> In-Reply-To: <201109241650.35939.jmc-freebsd2@milibyte.co.uk> References: <20110924100418.50edc7ea@atomizer> <201109241650.35939.jmc-freebsd2@milibyte.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Help with devd.conf 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: Sat, 24 Sep 2011 17:17:36 -0000 On Sat, 24 Sep 2011 16:50:35 +0100 Mike Clarke wrote: > On Saturday 24 September 2011, Rod Person wrote: > > > I'm trying to understand devd.conf to auto mount usb devices. For > > example I have a usb drive that will show up as da1 so as a test I > > just want to write something to syslog when it is plugged in. > > [snip] > > > Any help would be appreciated, thanks. > > This works for me: > > attach 10 { > match "device-name" "umass[0-9]"; > action "logger you plugged in some usb device"; > }; Thanks, but doesn't work on my system it seems. -- Rod Person http://www.rodperson.com "You aint ready, yet." - Michael L. Flecther, Sr. aka Mike-A-Nike