[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1308264497.2436.163.camel@mulgrave>
Date: Thu, 16 Jun 2011 18:48:17 -0400
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: dgilbert@...erlog.com
Cc: Greg KH <greg@...ah.com>,
Nao Nishijima <nao.nishijima.xt@...achi.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
kay.sievers@...y.org, jcm@...hat.com, hare@...e.de,
stefanr@...6.in-berlin.de, yrl.pp-manager.tt@...achi.com
Subject: Re: [PATCH 1/3] [RFC] genhd: add a new attribute in device
structure
On Thu, 2011-06-16 at 13:32 -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/<kernel_name>
> suddenly changed to /sys/block/<preferred_name> that would
> be very disruptive. I would prefer something like
> /sys/class/block_preferred_name/<preferred_name> was introduced
> as a symlink to /sys/block/<kernel_name> but that would require
> that all <preferred_name>s were unique. [Not a bad restriction
> IMO]. If the <preferred_name> was only placed in the
> /sys/block/<kernel_name> directory that would be ugly from
> the user space tool point of view.
Right, so the only proposal for sysfs is the addition of the
preferred_name file to devices, nothing more. The entire sysfs tree
structure would be left intact. This is what gets us out of the
problems that a real rename causes.
James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists