btrfs-progs: mkfs: allow UUID specification at mkfs time
authorEric Sandeen <sandeen@redhat.com>
Wed, 14 May 2014 17:39:07 +0000 (12:39 -0500)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:39:32 +0000 (14:39 +0200)
commit85691ebeac9432b4ebb1a268514279a0b2c7c61d
tree463b954a6cede5d8bb0d8c6a825afbd030aec4a0
parente2a157f380aa33a264eab8e21280ea8bbc10d67e
btrfs-progs: mkfs: allow UUID specification at mkfs time

Allow the specification of the filesystem UUID at mkfs time.

Non-unique unique IDs are rejected.  This includes attempting
to re-mkfs with the same UUID; if you really want to do that,
you can mkfs with a new UUID, then re-mkfs with the one you
wanted.

(Implemented only for mkfs.btrfs, not btrfs-convert).

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[converted help to asciidoc]
Signed-off-by: David Sterba <dsterba@suse.cz>
Documentation/mkfs.btrfs.txt
btrfs-convert.c
mkfs.c
utils.c
utils.h