From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 08:22: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 AAE4D16A4CE for ; Tue, 24 Aug 2004 08:22:50 +0000 (GMT) Received: from mx4.datanet.hu (mx4.datanet.hu [194.149.13.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E7343D31 for ; Tue, 24 Aug 2004 08:22:50 +0000 (GMT) (envelope-from sziszi@bsd.hu) Received: from momo.buza.adamsfamily.xx (nilus-2628.adsl.datanet.hu [195.56.6.88]) by mx4.datanet.hu (DataNet) with ESMTP id D3F8A267A48 for ; Tue, 24 Aug 2004 10:22:48 +0200 (CEST) Received: from momo.buza.adamsfamily.xx (localhost.buza.adamsfamily.xx [127.0.0.1])i7O8Nopr004332 for ; Tue, 24 Aug 2004 10:23:50 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by momo.buza.adamsfamily.xx (8.13.1/8.13.1/Submit) id i7O8NoHh004331 for freebsd-current@freebsd.org; Tue, 24 Aug 2004 10:23:50 +0200 (CEST) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: momo.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Tue, 24 Aug 2004 10:23:49 +0200 From: Szilveszter Adam To: freebsd-current@freebsd.org Message-ID: <20040824082349.GA1425@momo.buza.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-current@freebsd.org References: <200408240056.42066.mistry.7@osu.edu> <20040824074217.GC976@momo.buza.adamsfamily.xx> <200408240408.32057.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408240408.32057.mistry.7@osu.edu> User-Agent: Mutt/1.5.6i 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 08:22:50 -0000 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... -- Regards: Szilveszter ADAM Budapest Hungary