Date: Wed, 11 Mar 2009 07:42:04 -0700 (PDT) From: Peter Steele <psteele@maxiscale.com> To: questions@freebsd.org Subject: How to auto-detect a USB drive? Message-ID: <10423240.561236782522127.JavaMail.HALO$@halo> In-Reply-To: <7280394.541236782303889.JavaMail.HALO$@halo>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10423240.561236782522127.JavaMail.HALO$>