usb device permissions
Sean McNeil
sean at mcneil.com
Wed Aug 25 12:40:01 PDT 2004
Hi,
I'm using -CURRENT and looking for an easy way to get it to change the
permissions to a usb device when plugged in. I know I can change things
on startup with devfs.conf, but what do I do for usb?
It is a umass device that creates da0 and da0s. I've tried to put in
usbd.conf
device "Storage"
device "da.*"
attach "/bin/chmod 0666 /dev/${DEVNAME}"
but no joy.
I've also tried a rule for devfs by creating /etc/devfs.rules with
add path "da*" mode 0666
same result.
Could someone help me figure this one out?
Thanks,
Sean
More information about the freebsd-questions
mailing list