[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1308149005.2616.10.camel@mulgrave>
Date: Wed, 15 Jun 2011 10:43:25 -0400
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: Nao Nishijima <nao.nishijima.xt@...achi.com>
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
greg@...ah.com, 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 Wed, 2011-06-15 at 17:16 +0900, Nao Nishijima wrote:
> Allow users to set the preferred name of device via sysfs interface.
>
> (Exsample) sda -> foo
> # echo foo > /sys/block/sda/preferred_name
>
> Suggested-by: James Bottomley <James.Bottomley@...senPartnership.com>
So, as I said previously, I think this needs to be in struct device not
struct gendisk. It will be an easier infrastructure to use and it
easily generalises to our other naming problems (like net).
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