usb storage device mounting problems

Bram Kuijper a.l.w.kuijper at rug.nl
Sun Jul 9 13:59:14 UTC 2006


Hi,

still cannot seem to get usb device working as an ordinary user between 
multiple reboots, without doing /etc/rc.d/devfs start as root every time.

did the following things described under 4.3.3. from 
http://www.gphoto.org/doc/manual/permissions-usb.html

added this to devfs.rules:

[usb_devices=10]
add path 'da*s*' mode 0666 group usb
add path 'ugen*' mode 0666 group usb

added this to rc.conf:
devfs_system_ruleset="usb_devices"


removed this from devfs.conf:

own /dev/fd0 root:operator
perm /dev/fd0 0666


then, I restarted my rc.conf:
/etc/rc.d/devfs start

now, it is possible to mount the device as described, however only 
during this login. If I reboot, I have to do devfs start again as root.

anybody knows how to retain these settings between multiple reboots?

TIA,
Bram


More information about the freebsd-questions mailing list