Re: [PATCH] block: Revert "[SCSI] genhd: add a new attribute "alias"in gendisk"

From: Greg KH
Date: Fri Nov 11 2011 - 12:40:30 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/