On 2010-03-02, at 07:40, Karel Zak wrote:
Now, libblkid uses:
UUID = btrfs_super_block->fsid
UUID_SUB = btrfs_super_block->btrfs_dev_item->uuid
but I also see
btrfs_super_block->btrfs_dev_item->fsid
which is uuid of FS who owns this device. Maybe it would be better to
use the "fsid" from btrfs_dev_item as UUID. Not sure.
I'm ready with a ZFS patch to use "UUID" for the volume, and
"UUID_SUB"
for the disks, once we agree that this is correct.
Yes, makes sense.
Attached is an updated patch per the above, using the
TYPE="zfs_volume". I'll submit an updated patch to Ted that changes
the e2fsprogs TYPE="zfs_volume" also. Is it worth including the extra
UUID information there also?
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html