devd.conf help

Roland Smith rsmith at
Tue Apr 15 19:24:16 UTC 2008

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. 

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list