From mboxrd@z Thu Jan 1 00:00:00 1970 From: Narendra K Date: Wed, 28 Oct 2009 13:06:00 +0000 Subject: Re: PATCH: Network Device Naming mechanism and policy Message-Id: <20091028130558.GA21403@mock.linuxdev.us.dell.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: notting@redhat.com, scott@ubuntu.com Cc: netdev@vger.kernel.org, linux-hotplug@vger.kernel.org, matt_domsch@dell.com, jordan_hargrave@dell.com, rose_charles@dell.com On Wed, Oct 28, 2009 at 06:21:49PM +0530, K, Narendra wrote: > > At the moment, we do not appear to get the proper change uevents from > > things like 'ip link set dev address ', so we can't > > currently maintain these symlinks. > > > > I have observed that the kernel does generate a "move" event when > interfaces are renamed. Looks like udev at present doesn't handle this > event, but i suppose it could be extended to hanlde this event. > With the patch "[PATCH]udev:Extend udev to support move events" (http://marc.info/?l=linux-hotplug&m5673399217656&w=2) udev would be able to handle "move" events that are generated when interfaces are renamed by commands like nameif. And we can maintain the symlinks by having rules to handle this move event. With regards, Narendra K