lkml.org 
[lkml]   [2010]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] genhd, efi: add efi partition metadata to hd_structs
On Wed, Aug 4, 2010 at 16:45, Will Drewry <wad@chromium.org> wrote:
> On Wed, Aug 4, 2010 at 9:27 AM, John Stoffel <john@stoffel.org> wrote:

>> Ugh, why do we care whether a UUID refers to a disk or a partition?

Because it is not a filesystem UUID, and that matters to distinguish.
You can even reformat the partition and it stays the same.

>> It should be unique no matter what, so just do /dev/uuid/XXXX and call
>> it done.
>
> Since these are supposed to be _unique_ it seems that any reference to
> a uuid should be fair game.  And if a root=/dev/uuid/XXX makes it to
> an initramfs environment, then that'll be able to easily check if the
> UUID refers to a filesystem uuid or not.
>
> I can roll that into the next version unless there's specific complaints.

I don't think so. People should stop encoding non-existing stuff in
the /dev namespace. :)

Thanks,
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: 2010-08-04 17:29    [W:0.059 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site