From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 13 Sep 2004 17:14:33 +0000 Subject: hotplug "rename" event for kobject_rename()? Message-Id: <1095095673.15966.47.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, we currently get hotplug events for kobject "add" and "remove". Wouldn't it be nice to get the same kind of event for a kobject "rename"? We currently fake a hotplug-event with udev while renaming a net-device. We compose the new DEVPATH and call the network hotplug script from a dev.d/ callout. If we would get a real "rename" event we can get rid of that indirection and the rest of userspace can act properly too :). What do you think about emitting a "rename" event from: kobject_rename(struct kobject * kobj, char *new_name) and add the old name to the environment? Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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