Re: devfs patch v3

Richard Gooch (rgooch@atnf.CSIRO.AU)
Tue, 13 Jan 1998 08:59:03 +1100


Theodore Y. Ts'o writes:
> Date: Mon, 12 Jan 1998 08:06:27 +1100
> From: Richard Gooch <rgooch@atnf.CSIRO.AU>
>
> I hope there will be another way of identifying partitions. What
> happens if the UUID is rooted? You need to be able to regenerate it.
>
> Ext2fs also has volume labels, but of course there's no guarantee that
> they will be unique. The basic idea is that volume labels are for human
> usage, whereas UUID's are for programs and as keys to do lookups into a
> volume database.
>
> What do you mean by "UUID is rooted"? The UUID is stored in the
> superblock, which is replicated, so once a UUID is assigned, it's rather
> unlikely it will get smashed. (You could of course lose all of the
> superblocks, but that's an unusual, exception case sort of thing.)

OK, I didn't realise it was replicated. In that case, fine. I think
devfs should create the sd_h0c0i0l0p1 type entries anyway (you have to
write the UUID before you can reference it).
If someone writes a patch to call devfs_register() for UUIDs, that's
fine by me.

Regards,

Richard....