1 Apr 2004 01:14
Re: [PATCH] netdev - udevdb+dev.d changes
Greg KH <greg <at> kroah.com>
2004-03-31 23:14:10 GMT
2004-03-31 23:14:10 GMT
On Sun, Mar 28, 2004 at 08:48:40PM +0200, Kay Sievers wrote: > Hey, Chris fixed the udevd hole and Treeve found the timestamp bug, > so there was nothing left for me at the weekend :) > > Here is a patch to change the netdev handling in the database and for > the dev.d/ calls. I applies on top of the udevd.patch, cause klibc has > no sysinfo(). Thanks, I've applied this now. > o netdev's are also put into our database now. I want this for the > udevruler gui to get a list of all handled devices. > All devices in the db are stamped with the system uptime value at > the creation time. 'udevinfo -d' prints it. nice. > 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. > 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.(Continue reading)
RSS Feed