lkml.org 
[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] [RFC] genhd: add a new attribute in device structure
From
Date
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@HansenPartnership.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




\
 
 \ /
  Last update: 2011-06-15 16:45    [W:0.098 / U:3.092 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site