Date: Wed, 11 Mar 2009 08:13:16 -0700 (PDT) From: Peter Steele <psteele@maxiscale.com> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: questions@freebsd.org Subject: Re: How to auto-detect a USB drive? Message-ID: <28261019.721236784394267.JavaMail.HALO$@halo> In-Reply-To: <alpine.BSF.2.00.0903111608170.19024@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
This looks like it will do exactly what I need. Thanks for the pointer! ----- Original Message ----- From: "Wojciech Puchar" <wojtek@wojtek.tensor.gdynia.pl> To: "Peter Steele" <psteele@maxiscale.com> 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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28261019.721236784394267.JavaMail.HALO$>