From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Fri, 27 Jul 2007 17:55:03 +0000 Subject: Re: Make rule generator switchable Message-Id: <3ae72650707271055m62049220jd648a7b7b2c73b1c@mail.gmail.com> List-Id: References: <200707271904.51531.zzam@gentoo.org> In-Reply-To: <200707271904.51531.zzam@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 7/27/07, Matthias Schwarzott wrote: > Hi there! > > I thought about making rule generator/persistent-net user switchable. As this > was not possible yet, I implemented one possibility. This reads udev.conf > from write_(cd|net)_rules and aborts if there is: > persistent_cd_generator="disabled" > > Is there a better method to do this? If not, how about including this, and > perhaps commented out part for config file. > > #Disable generation of persistent-rules for cd devices > #persistent_cd_generator="disabled" > > # Disable generation of persistent-rules for network devices > #persistent_net_generator="disabled" Just don't install the rules then? Why would you want to run the scripts at all, if you don't need them? How should todays boxes work without persistent network names? They are as needed as LABEL, UUID, or /dev/disk/ for block devices. The old way of having luck to get the same kernel device names across reboots, just doesn't work today. Thanks, Kay ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel