All of lore.kernel.org
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: Fwd: udev suggestion (persistent-net)
Date: Tue, 13 Nov 2007 16:36:49 +0000	[thread overview]
Message-ID: <20071113163649.GB7927@bongo.bofh.it> (raw)
In-Reply-To: <200711131722.18917.zzam@gentoo.org>

On Nov 13, Matthias Schwarzott <zzam@gentoo.org> wrote:

> The first idea is to store in net-persistent.rules always one
> interface *less* than what is actually found. This works really
This would still not solve the case of the image of a server with
two interfaces which is moved to a different server.

> Instead of storing the full MAC immediately store only a not-so-unique
> information like e.g. the used kernel module first: Only if further
> interfaces using the same kernel module appear, store the MAC of that
> *further* interfaces. Again, this works reliable at the next boot (the
> first "unknown" interface is supposed to be the one which had appeared
> first at the last boot and gets the corresponding name).
No, because the enumeration order of drivers is not guaranteed to be
stable.

> Combining both ideas, most setups will require no persistent-net.rules,
> and people using typical setups like e.g. if there is only one ethernet
A typical server has two network interfaces.

> I would be really glad if udev would be heading into such a direction.
I would not. This would add a lot of complexity and hard to understand
conditions about when rules are created for little gain.

-- 
ciao,
Marco

-------------------------------------------------------------------------
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

  reply	other threads:[~2007-11-13 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13 16:22 Fwd: udev suggestion (persistent-net) Matthias Schwarzott
2007-11-13 16:36 ` Marco d'Itri [this message]
2007-11-13 20:29 ` Vaeth
2007-11-13 23:23 ` Bryan Kadzban
2007-11-14  9:43 ` Vaeth
2007-11-14  9:54 ` Matthias Schwarzott

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=20071113163649.GB7927@bongo.bofh.it \
    --to=md@linux.it \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.