From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 13:31:40 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 8D3BC16A4CE for ; Tue, 24 Aug 2004 13:31:40 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B7743D1D for ; Tue, 24 Aug 2004 13:31:40 +0000 (GMT) (envelope-from des@des.no) Received: from dwp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id B83275734; Tue, 24 Aug 2004 15:32:15 +0200 (MEST) Received: by dwp.des.no (Postfix, from userid 2602) id C81C0B86E; Tue, 24 Aug 2004 15:31:38 +0200 (CEST) To: Anish Mistry References: <200408240056.42066.mistry.7@osu.edu> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 24 Aug 2004 15:31:38 +0200 In-Reply-To: <200408240056.42066.mistry.7@osu.edu> (Anish Mistry's message of "Tue, 24 Aug 2004 00:56:34 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 13:31:40 -0000 Anish Mistry writes: > Not sure if this is a bug or not, but my understanding of device rules th= at > 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" Someone[tm] should document this somewhere. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no