Messages in this thread | | | From | Kay Sievers <> | Date | Wed, 4 Aug 2010 17:25:46 +0200 | Subject | Re: [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/
| |