summaryrefslogtreecommitdiff
path: root/Documentation/mkfs.btrfs.txt
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-05-14 12:39:07 -0500
committerDavid Sterba <dsterba@suse.cz>2014-08-22 14:39:32 +0200
commit85691ebeac9432b4ebb1a268514279a0b2c7c61d (patch)
tree463b954a6cede5d8bb0d8c6a825afbd030aec4a0 /Documentation/mkfs.btrfs.txt
parente2a157f380aa33a264eab8e21280ea8bbc10d67e (diff)
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>
Diffstat (limited to 'Documentation/mkfs.btrfs.txt')
-rw-r--r--Documentation/mkfs.btrfs.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/mkfs.btrfs.txt b/Documentation/mkfs.btrfs.txt
index c6becb99..ba7e42b5 100644
--- a/Documentation/mkfs.btrfs.txt
+++ b/Documentation/mkfs.btrfs.txt
@@ -21,6 +21,7 @@ $$[-s|--sectorsize <sectorsize>]$$
$$[-r|--rootdir <rootdir>]$$
$$[-K|--nodiscard]$$
$$[-O|--features <feature1>[,<feature2>...]]$$
+$$[-U|--uuid <UUID>]$$
$$[-h]$$
$$[-V|--version]$$
$$<device> [<device>...]$$
@@ -112,6 +113,10 @@ supported by old kernels.
To see all features run::::
mkfs.btrfs -O list-all
+-U|--uuid <UUID>::
+Create the filesystem with the specified UUID, which must not already exist on
+the system.
+
-V|--version::
Print the *mkfs.btrfs* version and exit.