From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Domsch Date: Tue, 07 Dec 2010 03:54:10 +0000 Subject: Re: net device renaming 2-step, IFNAMSIZ limit Message-Id: <20101207035409.GA30400@auslistsprd01.us.dell.com> List-Id: References: <20101129032908.GA29904@auslistsprd01.us.dell.com> In-Reply-To: <20101129032908.GA29904@auslistsprd01.us.dell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Dec 07, 2010 at 12:45:04AM -0200, Piter PUNK wrote: > As we talk on #udev, there is a patch that uses hash32 function inside > libudev to create > the intermediate name. We use the "oldname-newname" to create the hash. > With that, > exceeding IFNAMSIZ isn't a problem: Thanks piterpunk. I built udev on a Fedora 14 box, with this patch, and it works. However, I don't see udev doing the 2-step anymore, perhaps that was just a figment of the loglevel. Anyhow, it looks right, and doesn't blow up. Thanks, Matt -- Matt Domsch Technology Strategist Dell | Office of the CTO