From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 02 Apr 2004 09:33:09 +0000 Subject: [PATCH] put config info in db for netdev Message-Id: <20040402093309.GC16642@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="KDt/GgjP6HVcx58l" List-Id: To: linux-hotplug@vger.kernel.org --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Small change, to put the config informations for handled network interfaces into the database. thanks, Kay --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="03-netdev-db.patch" ===== namedev.c 1.138 vs edited ===== --- 1.138/namedev.c Sun Mar 28 21:35:32 2004 +++ edited/namedev.c Fri Apr 2 09:55:14 2004 @@ -850,13 +850,13 @@ found: apply_format(udev, udev->name, sizeof(udev->name), class_dev, sysfs_device); + strfieldcpy(udev->config_file, dev->config_file); + udev->config_line = dev->config_line; if (udev->type == 'n') goto done; udev->partitions = dev->partitions; - strfieldcpy(udev->config_file, dev->config_file); - udev->config_line = dev->config_line; /* get permissions given in rule */ set_empty_perms(udev, dev->mode, --KDt/GgjP6HVcx58l-- ------------------------------------------------------- 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