Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 21:24:13 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Steve Franks <stevefranks@ieee.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: devd.conf help
Message-ID:  <20080415192413.GB31706@slackbox.xs4all.nl>
In-Reply-To: <539c60b90804151208x2bb84e60i5c662ac38b7c2401@mail.gmail.com>
References:  <539c60b90804151208x2bb84e60i5c662ac38b7c2401@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--eAbsdosE1cNLO4uF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
>=20
> 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.=20

Roland
--=20
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)

--eAbsdosE1cNLO4uF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)

iEYEARECAAYFAkgFAN0ACgkQEnfvsMMhpyUxagCgmVtMpRq7I4Q7Xbr1D/vxrvWD
+9oAoJZ5Te9MrFr0HZIe34LNMk8lRPde
=J4WR
-----END PGP SIGNATURE-----

--eAbsdosE1cNLO4uF--



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