From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 18:38:50 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 A267A16A4CE for ; Tue, 24 Aug 2004 18:38:50 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4808D43D49 for ; Tue, 24 Aug 2004 18:38:50 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i7OIcaVQ086247; Tue, 24 Aug 2004 12:38:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 24 Aug 2004 12:38:55 -0600 (MDT) Message-Id: <20040824.123855.50341795.imp@bsdimp.com> To: sziszi@bsd.hu From: "M. Warner Losh" In-Reply-To: <20040824082349.GA1425@momo.buza.adamsfamily.xx> References: <20040824074217.GC976@momo.buza.adamsfamily.xx> <200408240408.32057.mistry.7@osu.edu> <20040824082349.GA1425@momo.buza.adamsfamily.xx> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 18:38:50 -0000 In message: <20040824082349.GA1425@momo.buza.adamsfamily.xx> Szilveszter Adam writes: : On Tue, Aug 24, 2004 at 04:08:24AM -0400, Anish Mistry wrote: : > On Tuesday 24 August 2004 03:42 am, Szilveszter Adam wrote: : > > Hello Anish, : > > : > > I think you need devd running and devd.conf configured for this to : > > work. : > > : > > But maybe I am wrong... : > I do have devd running. What would go in devd.conf then? : : Well, devd.conf isn't exactly heavy on documentation, but I would think : that you can do something like: : : attach 0 { : device-name "da[0-9]+"; : action "chmod 755"; // or even : action "/etc/rc.d/devfs start" // but it depends what you have in : there. : }; : : Of course, others might be able to give you better suggestions, I have : not tried this, but only based it on the docs that I read and on : /usr/share/examples/etc/devd.conf : : Hope this helps somewhat... I don't see how. CAM devices aren't added to the tree, so no device added will be generated. Warner