How to auto-detect a USB drive?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Wed Mar 11 08:08:30 PDT 2009


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list