How to auto-detect a USB drive?

Peter Steele psteele at maxiscale.com
Wed Mar 11 08:13:49 PDT 2009


This looks like it will do exactly what I need. Thanks for the pointer! 

----- Original Message ----- 
From: "Wojciech Puchar" <wojtek at wojtek.tensor.gdynia.pl> 
To: "Peter Steele" <psteele at maxiscale.com> 
Cc: questions at 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 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