From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 31 Mar 2004 23:40:26 +0000 Subject: Re: [PATCH] netdev - udevdb+dev.d changes Message-Id: <20040331234026.GA13247@vrfy.org> List-Id: References: <20040328184840.GA5877@vrfy.org> In-Reply-To: <20040328184840.GA5877@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id70&alloc_id638&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