btrfs-progs: clarify mkfs.btrfs --alloc-start option
authorEric Sandeen <sandeen@redhat.com>
Thu, 15 May 2014 17:14:40 +0000 (19:14 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:39:32 +0000 (14:39 +0200)
Fedora had a bug where a poor user thought that --alloc-start
meant that the filesystem would be created at that offset into
the device, rather than just starting allocations at that offset.
A subtle difference, but worth clarifying, because the manpage
is misleading on this point.

The original commit log for this option says:

    Add mkfs.btrfs -A offset to control allocation start on devices

    This is a utility option for the resizer, it makes sure to allocate
    at offset bytes in the disk or higher.  It ensures the resizer will have
    something to move when testing it.

so allude to that intended use in the manpage.

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

index 0cab626..c6becb9 100644 (file)
@@ -39,7 +39,10 @@ spanning across the specified  devices.
 OPTIONS
 -------
 -A|--alloc-start <offset>::
-Specify the offset from the start of the device to start the btrfs filesystem. The default value is zero, or the start of the device.
+Specify the offset from the start of the device at which to start allocations
+in this btrfs filesystem. The default value is zero, or the start of the
+device.  This option is intended only for debugging filesystem resize
+operations.
 
 -b|--byte-count <size>::
 Specify the size of the resultant filesystem. If this option is not used,