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";
};

-- 
Mike Clarke
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to