[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=tyZe6YVmvbSgG+BvPBqV6FwwgpYMZ8zczyPVc@mail.gmail.com>
Date: Wed, 4 Aug 2010 17:25:46 +0200
From: Kay Sievers <kay.sievers@...y.org>
To: Will Drewry <wad@...omium.org>
Cc: John Stoffel <john@...ffel.org>, linux-kernel@...r.kernel.org,
Jens Axboe <axboe@...nel.dk>, Karel Zak <kzak@...hat.com>,
Tejun Heo <tj@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Joe Perches <joe@...ches.com>
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@...omium.org> wrote:
> On Wed, Aug 4, 2010 at 9:27 AM, John Stoffel <john@...ffel.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@...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