Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932180AbWHRBBM (ORCPT ); Thu, 17 Aug 2006 21:01:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932187AbWHRBBM (ORCPT ); Thu, 17 Aug 2006 21:01:12 -0400 Received: from dsl027-180-168.sfo1.dsl.speakeasy.net ([216.27.180.168]:38555 "EHLO sunset.davemloft.net") by vger.kernel.org with ESMTP id S932180AbWHRBBK (ORCPT ); Thu, 17 Aug 2006 21:01:10 -0400 Date: Thu, 17 Aug 2006 18:01:19 -0700 (PDT) Message-Id: <20060817.180119.74753683.davem@davemloft.net> To: alan@lxorguk.ukuu.org.uk Cc: xavier.bestel@free.fr, 7eggert@gmx.de, notting@redhat.com, cate@debian.org, 7eggert@elstempel.de, shemminger@osdl.org, mitch.a.williams@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: bonding: cannot remove certain named devices From: David Miller In-Reply-To: <1155861283.15195.112.camel@localhost.localdomain> References: <1155799783.7566.5.camel@capoeira> <20060817.162340.74748342.davem@davemloft.net> <1155861283.15195.112.camel@localhost.localdomain> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1290 Lines: 30 From: Alan Cox Date: Fri, 18 Aug 2006 01:34:43 +0100 > Ar Iau, 2006-08-17 am 16:23 -0700, ysgrifennodd David Miller: > > All you "name purists", go rename the block device name that is used > > for your root partition to something with a space in it > > Works fine. It doesn't work fine for non root volumes (except by label) > because of the fstab format but root is ok ! Check out how your root device would be fsck'd. The command line run by the /etc/init* scripts either doesn't quote the device argument or it consults fstab which as you said has limitations when dealing with spaces. It's either going to do something like $device (this is what debian derived systems do), unquoted, or it will do "fsck -A" which runs into said fstab format limitations (which is what fedora does). Either way the point is that this issue is scattered all over the place. Preventing spaces in the name doesn't prevent the use of names in non- romanized languages any moreso than preventing ".", "..", and "/" already does. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/