lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 11 Nov 2011 09:36:33 -0800
From:	Greg KH <gregkh@...e.de>
To:	Nao Nishijima <nao.nishijima.xt@...achi.com>
Cc:	Tejun Heo <tj@...nel.org>, Jens Axboe <axboe@...nel.dk>,
	"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
	Kay Sievers <kay.sievers@...y.org>,
	Alan Cox <alan@...ux.intel.com>,
	Al Viro <viro@...iv.linux.org.uk>,
	linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [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@...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

Powered by Openwall GNU/*/Linux Powered by OpenVZ