From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
Bill Nottingham <notting@redhat.com>, Andi Kleen <ak@muc.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Subject: Re: [PATCH] All my Pcmcia cards are 'eth0'
Date: Fri, 21 Nov 2003 11:11:49 -0800 [thread overview]
Message-ID: <20031121191149.GA26357@bougret.hpl.hp.com> (raw)
Bill Nottingham wrote :
>
> Andi Kleen (ak@muc.de) said:
> > > There are some situations where you have to jump through hoops
> > > because it can't atomically swap two device names (i.e.,
> > > eth0 <-> eth1, but the code itself seems to work ok in use here...
> >
> > Adding such swapping should not be very hard if someone is motivated.
> > Interestingly you're the first to complain about it missing...
>
> When I looked at it, I assumed it was a limitation of the
> kernel interface, in that it only operated on one device at
> a time... or are you talking about just doing the switch in
> nameif itself with a temporary device name?
Have you tried with nameif running from hotplug ? I'm sure
that would fix your problem, because the first device would be renamed
before the second would even be created (but you may want to test).
That's probably a second reason why running nameif from
hotplug is the right way forward.
> Bill
Jean
next reply other threads:[~2003-11-21 19:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-21 19:11 Jean Tourrilhes [this message]
[not found] <Ua09.2Wt.17@gated-at.bofh.it>
[not found] ` <Uajn.3lb.7@gated-at.bofh.it>
2003-11-21 5:14 ` Andi Kleen
2003-11-21 5:18 ` Bill Nottingham
-- strict thread matches above, loose matches on Subject: below --
2003-11-21 3:13 Jean Tourrilhes
2003-11-21 3:28 ` Bill Nottingham
2003-11-21 3:40 ` Randy.Dunlap
2003-11-21 17:22 ` Jean Tourrilhes
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=20031121191149.GA26357@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=ak@muc.de \
--cc=jgarzik@pobox.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=notting@redhat.com \
/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
all inboxes | Powered by JetHome®