From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 19:24:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBE31065670 for ; Tue, 15 Apr 2008 19:24:16 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0508FC1F for ; Tue, 15 Apr 2008 19:24:15 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3FJODXo050720; Tue, 15 Apr 2008 21:24:14 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 7B619B82D; Tue, 15 Apr 2008 21:24:13 +0200 (CEST) Date: Tue, 15 Apr 2008 21:24:13 +0200 From: Roland Smith To: Steve Franks Message-ID: <20080415192413.GB31706@slackbox.xs4all.nl> Mail-Followup-To: Steve Franks , FreeBSD Mailing List References: <539c60b90804151208x2bb84e60i5c662ac38b7c2401@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <539c60b90804151208x2bb84e60i5c662ac38b7c2401@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: devd.conf help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 19:24:16 -0000 --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--