From: Matthias Schwarzott <zzam@gentoo.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Make rule generator switchable
Date: Wed, 01 Aug 2007 19:31:46 +0000 [thread overview]
Message-ID: <200708012131.46714.zzam@gentoo.org> (raw)
In-Reply-To: <200707271904.51531.zzam@gentoo.org>
On Freitag, 27. Juli 2007, Kay Sievers wrote:
> On 7/27/07, Matthias Schwarzott <zzam@gentoo.org> 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?
>
Well, the problem here is:
If you unpack a basic gentoo stage you get an already installed udev. WITH the
persistent-net rules.
Should we rely on the user to remove it and always remove it again after
update.
Or Add some install time flag to udev package - but package manager portage
will not remove the file if already existing for config-protection issues.
I clain: There is no sane way to disable specific rules config-wise.
Is there no possibilities to inject some env vars into udev without calling
udevcontrol - but perhaps from udev.conf ?
Matthias
--
Matthias Schwarzott (zzam)
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2007-08-01 19:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 17:04 Make rule generator switchable Matthias Schwarzott
2007-07-27 17:55 ` Kay Sievers
2007-07-27 18:05 ` Bill Nottingham
2007-07-27 18:17 ` Kay Sievers
2007-07-27 18:32 ` Marco d'Itri
2007-07-27 19:10 ` Matthias Schwarzott
2007-07-27 20:04 ` Matthias Schwarzott
2007-08-01 19:31 ` Matthias Schwarzott [this message]
2007-08-02 9:06 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200708012131.46714.zzam@gentoo.org \
--to=zzam@gentoo.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).