From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 19:10:10 2009 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 E26BD1065670 for ; Fri, 9 Oct 2009 19:10:10 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 50C4A8FC1A for ; Fri, 9 Oct 2009 19:10:10 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n99J9rkf033893; Fri, 9 Oct 2009 21:10:09 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n99J9rPe033892; Fri, 9 Oct 2009 21:09:53 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <200910091909.n99J9rPe033892@lurza.secnetix.de> To: aryeh.friedman@gmail.com (Aryeh M. Friedman) Date: Fri, 9 Oct 2009 21:09:53 +0200 (CEST) In-Reply-To: <4ACF8218.1080306@gmail.com> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 09 Oct 2009 21:10:09 +0200 (CEST) Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: How to set device permissions at startup 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: Fri, 09 Oct 2009 19:10:11 -0000 Aryeh M. Friedman wrote: > Oliver Fromme wrote: > > Roland Smith wrote: > > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to take > > > effect! (or reboot the system, which is overkill). > > > > Yes, of course. I thought that was obvious. > > > > > Maybe I whould add that to the manual page for devfs.rules? > > > > Agreed, that might be an appropriate clarification. > > It should be included because not everyone uses the standard /etc/rc.* > hierachy. For example I have a completely custom rc which before I did > an other hack to make this issue not an issue read: Well, if you completely rewrite /etc/rc, then you're on your own anyway, and you're supposed to know what you're doing. In general it is not a good idea and will lead to serious foot-shooting. By the way, what is the reason that you don't use the standard rc(8) facilities? I don't see anything in you custom script that wouldn't be covered by them. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie