lkml.org 
[lkml]   [2011]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RESEND PATCH 1/2] init: Add support for root devices to be specified by partition name
On Fri, Jan 7, 2011 at 12:42, Kirill Smelkov <kirr@landau.phys.spbu.ru> wrote:
>  [ In follow-up to b5af921e ]
>
> Besides GUIDs, there are also partition names stored in an EFI GPT
> partition table. So let's add support for root to be located not only by
> GUID, but also by partition names, like this:
>
>    root=PARTNAME=<partition-name>

Are you sure about this? What's your use case?

Generally, we really don't recommend ever to use any simple labels for
critical stuff -- not from filesystems, not from partitions.

I know that some distros did that, but this is pretty misguided, and I
think, should not be extended to any new facility, unless there is a
good use case for that.

Labels are not unique and in the general case absolutely not useful to
uniquely identify data on a disk. They only make sense for humans, or
interfaces that visualize things -- they should usually not be used in
any environment that reliably needs to identify a certain partition.
We have the uuids for a reason.

Kay
--
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-01-07 16:15    [W:0.053 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site