Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932209Ab1FPSCr (ORCPT ); Thu, 16 Jun 2011 14:02:47 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:34773 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758508Ab1FPSCo (ORCPT ); Thu, 16 Jun 2011 14:02:44 -0400 Date: Thu, 16 Jun 2011 19:02:33 +0100 From: Al Viro To: Douglas Gilbert Cc: James Bottomley , Greg KH , Nao Nishijima , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kay.sievers@vrfy.org, jcm@redhat.com, hare@suse.de, stefanr@s5r6.in-berlin.de, yrl.pp-manager.tt@hitachi.com Subject: Re: [PATCH 1/3] [RFC] genhd: add a new attribute in device structure Message-ID: <20110616180233.GN11521@ZenIV.linux.org.uk> References: <20110615081610.2237.44767.stgit@ltc233.sdl.hitachi.co.jp> <20110615081627.2237.9620.stgit@ltc233.sdl.hitachi.co.jp> <20110615153337.GA10160@kroah.com> <4DF9F11F.705@hitachi.com> <20110616154129.GA31498@kroah.com> <1308239454.2436.34.camel@mulgrave> <4DFA3E1A.9050207@interlog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DFA3E1A.9050207@interlog.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 21 On Thu, Jun 16, 2011 at 01:32:10PM -0400, Douglas Gilbert wrote: > As James' notes each storage device can only have one > "preferred name" at a time. But how can that preferred name > be represented in sysfs ? If /sys/block/ > suddenly changed to /sys/block/ that would > be very disruptive. I would prefer something like > /sys/class/block_preferred_name/ was introduced > as a symlink to /sys/block/ but that would require > that all s were unique. [Not a bad restriction > IMO]. If the was only placed in the > /sys/block/ directory that would be ugly from > the user space tool point of view. Oh, rapture... so now we can expect the container crowd to introduce yet *another* "namespace" ;-/ -- 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/