sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Arwed von Merkatz <v.merkatz AT gmx.net>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] udev module loading order
- Date: Sat, 15 Apr 2006 10:25:15 +0200
On Sat, Apr 15, 2006 at 03:51:41AM +0300, Juuso Alasuutari wrote:
> On Friday 14 April 2006 13:32, Arwed von Merkatz wrote:
> > On Fri, Apr 14, 2006 at 11:57:53AM +0200, Mads Laursen wrote:
> <slice>
> > > The reason I'm suggesting this is, that I think it would be a lot
> > > nicer to keep all the network(-card) config in /etc/sysconfig/network
> > > instead of spreading it out over more files. And the format is also
> > > simple enough that something like netconf actually works quite nicely.
> >
> > That is possible with udev, udev rules can call out to a program to
> > determine the name for a device. Sounds like a good idea to me.
>
> How would an external program export a variable back to udev-space to be
> used
> with NAME=? I'm still a bit skeptical, but interested.
Pretty simple actually, I just looked it up in the udev man page as I
haven't done it before:
KERNEL=="eth0", PROGRAM=="/path/to/our/script", NAME="$result"
$result contains the stdout output of PROGRAM. If PROGRAM returns false
the whole rule is dropped.
> While we can of course work on that option and switch to using it later,
> I've
> just submitted an edit to udev to test. It's a script which binds network
> device MAC addresses to their currently assigned interface names. It's of
> course optional and defaults to n. It's not the most elegant solution, but
> it
> works.
>
> Juuso
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
-
Re: [SM-Discuss] udev module loading order
, (continued)
- Re: [SM-Discuss] udev module loading order, Chris Dombroski, 04/13/2006
-
Re: [SM-Discuss] udev module loading order,
Mads Laursen, 04/13/2006
-
Re: [SM-Discuss] udev module loading order,
Juuso Alasuutari, 04/13/2006
-
[SM-Discuss] Tomcat Help,
dave, 04/14/2006
- Re: [SM-Discuss] Tomcat Help, Mathieu L., 04/14/2006
-
Re: [SM-Discuss] Tomcat Help,
David Kowis, 04/14/2006
- Re: [SM-Discuss] Tomcat Help, David Kowis, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Mads Laursen, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Arwed von Merkatz, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Juuso Alasuutari, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Arwed von Merkatz, 04/15/2006
- Re: [SM-Discuss] udev module loading order, Juuso Alasuutari, 04/15/2006
-
Re: [SM-Discuss] udev module loading order,
Arwed von Merkatz, 04/15/2006
-
Re: [SM-Discuss] udev module loading order,
Juuso Alasuutari, 04/14/2006
- Re: [SM-Discuss] udev module loading order, Juuso Alasuutari, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Arwed von Merkatz, 04/14/2006
-
[SM-Discuss] Tomcat Help,
dave, 04/14/2006
-
Re: [SM-Discuss] udev module loading order,
Juuso Alasuutari, 04/13/2006
Archive powered by MHonArc 2.6.24.