working with dbsd-tools

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Aug 13 23:36:47 UTC 2006


On 2006-08-13 18:30, Jonathan Horne <freebsd at dfwlp.com> wrote:
> i almost have desktopbsd tools working perfectly... except that
> i cannot mount usb drives without opening a terminal as root,
> and chmoding /dev/da* to 660.
>
> how can i cause new devices (such as da*) to be created with
> proper permissions to let me mount it without becomming root to
> do so?  ive already set up my devd.conf, and cdrom is working
> (but that one doesnt disappear/reappear like usb devices do).

You can use devfs.rules for this.  The manpage has an example
that is probably pretty close to what you need:

    [localrules=10]
    add path 'da*s*' mode 0660 group usb



More information about the freebsd-questions mailing list