devd.conf help

2008-04-15 Thread Steve Franks
I have the following in devd.conf for several ugen devices, and it
works fine, but I'd like to have it work for cuaU devices, and for
some reason it doesn't.  Anything look wrong?

attach 101 {
device-name cuaU[0-9]+;
action /bin/chmod -h 666 /dev/$device-name;
};

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: devd.conf help

2008-04-15 Thread Roland Smith
On Tue, Apr 15, 2008 at 12:08:32PM -0700, Steve Franks wrote:
 I have the following in devd.conf for several ugen devices, and it
 works fine, but I'd like to have it work for cuaU devices, and for
 some reason it doesn't.  Anything look wrong?
 
 attach 101 {
   device-name cuaU[0-9]+;
   action /bin/chmod -h 666 /dev/$device-name;
 };

Setting the ownership and modes of device nodes whould be done in
/etc/devfs.conf (for devices available at boot) or /det/devfs.rules (for
hotpluggable devices). Read the devfs.rules(5) manpage. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpEepgQdrzyc.pgp
Description: PGP signature