lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: Revert "[SCSI] genhd: add a new attribute "alias" in gendisk"
On Fri, Nov 11, 2011 at 11:50:06PM +0900, Nao Nishijima wrote:
> Hi,
>
> Finally, I understood why this patch is not acceptable and would like to
> solve the problem of the device name mismatch in *user space* using
> udev. So, could you please give me your comment about it?
>
> I aim to unify the device name because the name shown in command output
> is different from it that users use for command execution.
>
> So, I'd like to suggest that two new API should be added to udev.
> - The API that returns any symlinks such as by-uuid, by id that users
> selected before if a device name is given as arguments
> If the commands directly access to proc filesystems, they cannot get
> the symlinks. These commands should get the device name via this API.
> - The API that replaces device name to symlink in text messages
>   The dmesg and syslog messages include the raw device names such as
> sdX. They should be replaced with symlinks to unify the device names.
> - udev support alias
> Symlinks (by-uuid, by-id …) is too long, compared to before (e.g.
> sdX). I guess most of users need more friendly and short names.
>
> Could you give me some advice or comments?
> (I will post this idea udev mailing list with prototype code)

Patches are always best to work off of, please post your changes to udev
to the linux-hotplug list and we can take it from there.

thanks,

greg k-h
--
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/

\
 
 \ /
  Last update: 2011-11-11 18:43    [W:0.170 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site