Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 08:36:43 -0800 (PST)
From:      Arne Woerner <arne_woerner@yahoo.com>
To:        Stefan "Eßer" <se@FreeBSD.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: xsane as user
Message-ID:  <20060107163643.12201.qmail@web30310.mail.mud.yahoo.com>
In-Reply-To: <20060107161111.GA42739@StefanEsser.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Stefan Eßer <se@FreeBSD.org> wrote:
> > % cat /etc/devfs.conf 
> > perm uscanner0 0664
> 
> Hmmm, why 0664?
>
Oh... I put myself into the operator group...

I saw that too late... I hope my example still clear enough... It
should have been 0666 there too.

> Interesting idea to apply devfs rules from
> devd ...
>
I did not know, what devfs is good for, so I put it into devd so
that it makes sense in my setting (when I unplugged the scanner
the devfs settings were lost after I re-plugged the scanner).

> attach 100 {
> 	device-name "uscanner[0-9]+";
> 	action "chmod 660 /dev/$device-name";
> };
> 
This creates uncontrolled redundancy, because then I have the
perms set in devfs.conf and in devd.conf...

I haven't understood the devfs/devd idea completely... :-)

-Arne


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 




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