On 2010-03-11, at 07:59, Karel Zak wrote:
On Tue, Mar 02, 2010 at 02:18:34PM -0700, Andreas Dilger wrote:
Attached is an updated patch per the above, using the
TYPE="zfs_volume".
Applied (with a small change, %llu -> %PRIu64), thanks.
I have a question (not sure if we have talked about it) -- you have
UUIDs in the decimal format (%PRIu64 now), but we usually have UUIDs
in the hexadecimal format, it means %PRIx64. Is it necessary to use
the decimal notation?
The current ZFS tools (e.g. zdb) print out the GUID in decimal format,
and it makes sense to keep the same format as those tools, for ease of
identification. It would be highly confusing if "zdb -l" printed the
GUID in decimal and "blkid" printed it in hex...
# zdb -l /dev/sda1
...
pool_guid=11393919850767138023
guid=5712497783286539221
# blkid /dev/sda1
/dev/sda1: LABEL="zpios" UUID="11393919850767138023"
UUID_SUB="5712497783286539221 " TYPE="zfs-member"
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