Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jul 2006 15:59:30 +0200
From:      Bram Kuijper <a.l.w.kuijper@rug.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: usb storage device mounting problems
Message-ID:  <44B10BC2.3020807@rug.nl>
In-Reply-To: <20060708151023.GD18199@wananchi.com>
References:  <44AFB730.5090905@rug.nl> <20060708151023.GD18199@wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44B10BC2.3020807>