mkfs.btrfs --version (return code: 0)
mkfs.btrfs, part of btrfs-progs v4.4
mkfs.btrfs --help (return code: 0)
usage: mkfs.btrfs [options] dev [ dev ... ]
options:
-A|--alloc-start START the offset to start the FS
-b|--byte-count SIZE total number of bytes in the FS
-d|--data PROFILE data profile, raid0, raid1, raid5, raid6, raid10, dup or single
-f|--force force overwrite of existing filesystem
-l|--leafsize SIZE deprecated, alias for nodesize
-L|--label LABEL set a label
-m|--metadata PROFILE metadata profile, values like data profile
-M|--mixed mix metadata and data together
-n|--nodesize SIZE size of btree nodes
-s|--sectorsize SIZE min block allocation (may not mountable by current kernel)
-r|--rootdir DIR the source directory
-K|--nodiscard do not perform whole device TRIM
-O|--features LIST comma separated list of filesystem features, use '-O list-all' to list features
-U|--uuid UUID specify the filesystem UUID
-q|--quiet no messages except errors
-V|--version print the mkfs.btrfs version and exit