diff options
author | Koen De Wit <koen.de.wit@oracle.com> | 2013-07-11 22:56:17 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:40:49 +0200 |
commit | b9b1fc4f0dea55ed276819538d1d46e61edf1d86 (patch) | |
tree | db4c7adae87982fe5da89b43e486db48734a821f /mkfs.c | |
parent | 560f0713139b6a1fbe059d895dd059e6a98ec18b (diff) |
btrfs-progs: mkfs.btrfs documentation: clarify current restrictions of sectorsize, nodesize and leafsize
Commit 8d082fb727ac11930ea20bf1612e334ea7c2b697 (Btrfs: do not mount when
we have a sectorsize unequal to PAGE_SIZE) requires the sectorsize to be
equal to the pagesize for the filesystem to be mountable.
The nodesize and leafsize should be equal, and not larger than 65536.
Adding this information to the manpage and usage instructions of mkfs.btrfs.
Signed-off-by: Koen De Wit <koen.de.wit@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'mkfs.c')
-rw-r--r-- | mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -319,7 +319,7 @@ static void print_usage(void) fprintf(stderr, "\t -m --metadata metadata profile, values like data profile\n"); fprintf(stderr, "\t -M --mixed mix metadata and data together\n"); fprintf(stderr, "\t -n --nodesize size of btree nodes\n"); - fprintf(stderr, "\t -s --sectorsize min block allocation\n"); + fprintf(stderr, "\t -s --sectorsize min block allocation (may not mountable by current kernel)\n"); fprintf(stderr, "\t -r --rootdir the source directory\n"); fprintf(stderr, "\t -K --nodiscard do not perform whole device TRIM\n"); fprintf(stderr, "\t -O --features comma separated list of filesystem features\n"); |