From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 16:38:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1297C16A4CE for ; Tue, 24 Aug 2004 16:38:48 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E1CA43D1D for ; Tue, 24 Aug 2004 16:38:47 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i7OGPpjr062505 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 24 Aug 2004 12:25:53 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 24 Aug 2004 12:39:57 -0400 User-Agent: KMail/1.6.2 References: <200408240056.42066.mistry.7@osu.edu> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408241240.08060.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: hoe-waa@hawaii.rr.com cc: freebsd-current@freebsd.org Subject: Re: devfs rules not applied on reattach X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 16:38:48 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 24 August 2004 09:31 am, you wrote: > Anish Mistry writes: > > Not sure if this is a bug or not, but my understanding of device rules > > that are placed in /etc/devfs.conf are supposed to be applied when a > > device is attached. ie. > > perm da0 0666 > > perm da0s1 0666 > > perm da1 0666 > > perm da1s1 0666 > > perm da2 0666 > > perm da2s1 0666 > > perm da3 0666 > > perm da3s1 0666 > > /etc/devfs.conf is only applied at boot and is mostly useless. > > What you really want is to put something like the following in > > /etc/devfs.rules: > > [system=3D10] > > add path 'da*' mode 0660 > > (see devfs(8) for details about the syntax) > > and add the following line to /etc/rc.conf: > > devfs_system_ruleset=3D"system" Thanks, this works. > > Someone[tm] should document this somewhere. Yes, definitely before 5.3 since I'm sure this will come up for many people. > > DES =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBK29lxqA5ziudZT0RAs0OAJoCm/Z8qX4VArl3CpfcKjUaZrhtMQCgvK1N LI/jiaNqJAAdqCyAM+YqJ78=3D =3DSe3/ =2D----END PGP SIGNATURE-----