is there a "knob" for devfs rules?
    Scot W. Hetzel 
    hetzelsw at westbend.net
       
    Mon Sep  1 08:30:56 PDT 2003
    
    
  
From: "John Reynolds" <johnjen at reynoldsnet.org>
> Hi all, in debugging /dev/usb* and /dev/ugen* permissions problems so that
I
> could access my digital camera as a mere-mortal user, I came across this
> posting to -questions:
>
>
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1203173+1206388+/usr/local/www/db/text/2003/freebsd-questions/20030622.freebsd-questions
>
> Indeed what Jesse posted worked like a charm:
>
>   devfs ruleset 10
>   devfs rule add path 'ugen*' mode 664
>
You would need to add the following to /etc/devfs.rules:
[devfsrules_ugen=50]
add path 'ugen*' mode 664
Then add to /etc/rc.conf:
devfs_system_ruleset="devfsrules_ugen"
Scot
    
    
More information about the freebsd-current
mailing list