From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbXC1DZN (ORCPT ); Tue, 27 Mar 2007 23:25:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752917AbXC1DZN (ORCPT ); Tue, 27 Mar 2007 23:25:13 -0400 Received: from mx1.redhat.com ([66.187.233.31]:53377 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844AbXC1DZL (ORCPT ); Tue, 27 Mar 2007 23:25:11 -0400 Date: Tue, 27 Mar 2007 23:17:43 -0400 From: Bill Nottingham To: Kay Sievers Cc: linux-kernel@vger.kernel.org, Greg KH Subject: Re: new sysfs layout and ethernet device names Message-ID: <20070328031743.GA11819@nostromo.devel.redhat.com> Mail-Followup-To: Kay Sievers , linux-kernel@vger.kernel.org, Greg KH References: <20070320170102.GA16341@nostromo.devel.redhat.com> <3ae72650703220147j42db8f79s734d4755c2fa43fd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ae72650703220147j42db8f79s734d4755c2fa43fd@mail.gmail.com> User-Agent: Mutt/1.5.14 (2007-02-12) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Kay Sievers (kay.sievers@vrfy.org) said: > >If you *do* try to use one of these names, the rename will succeed... > >partway. The link in /sys/class/net is renamed, the directory is > >not (as it obviously can't rename on top of whatever is already there.) > >Various networking tools then break in assorted ways due to the > >naming disconnect. > > > >Going back to the deprecated layout makes these names available again - > >it's possible (although not necessarily likely) that the new layout > >will break someone's device configuration if they upgrade kernels, > >even if the rest of their tools are updated for the new layout. > > There will be a directory at the bus-device with the name of the > class, that glues together the bus-devices and the class-devices in > the unified tree: > http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f=driver/driver-core-fix-namespace-issue-with-devices-assigned-to-classes.patch;hb=HEAD > > So the network-interface(s) will be in their own directory "net", > below the bus-device, and don't conflict with the existing attributes. So, the layout will change again? Bill