Date: Sat, 24 Sep 2011 13:17:36 -0400 From: Rod Person <rodperson@rodperson.com> To: Mike Clarke <jmc-freebsd2@milibyte.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Help with devd.conf 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Sep 2011 16:50:35 +0100 Mike Clarke <jmc-freebsd2@milibyte.co.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110924131736.77c1429d>