[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-hotplug
Subject: Re: [PATCH] netdev - udevdb+dev.d changes
From: Kay Sievers <kay.sievers () vrfy ! org>
Date: 2004-03-31 23:40:26
Message-ID: 20040331234026.GA13247 () vrfy ! org
[Download RAW message or body]
On Wed, Mar 31, 2004 at 03:14:10PM -0800, Greg KH wrote:
> On Sun, Mar 28, 2004 at 08:48:40PM +0200, Kay Sievers wrote:
> > o the DEVPATH value is the key for udevdb, but if we rename
> > a netdev, the name is replaced in the kernel, so we add
> > the changed name to the db to match with the remove event.
> >
> > NOTE: The dev.d/ scripts still get the original name from the
> > hotplug call. Should we replace DEVPATH with the new name too?
>
> Yeah, we should.
Ok, I will prepare a patch, now.
> > o We now only add a device to the db, if we have successfully created
> > the main node or successfully renamed a netdev. This is the main part
> > of the patch, cause I needed to clean the retval passing trough all
> > the functions used for node creation.
> >
> > o DEVNODE sounds a bit ugly for netdev's so I exported DEVNAME too.
> > Can we change the name?
>
> Can you think of a better name?
I think DEVNAME sounds better for a netdev and is fine for a node too?
What do you think?
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic