From btrfs Wiki
Revision as of 17:24, 6 November 2008 by Lagalopex (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The common mkfs program to format a device with Btrfs.

  • "alloc-start" or "-A": At what offset to start the fs.
  • "byte-count" or "-b": Size of the filesystem in bytes.
  • "leafsize" or "-l": Size of the leaves, defaults to pagesize.
  • "label" or "-L": Set a label.
  • "nodesize" or "-n": Size of the nodes, defaults to pagesize.
  • "sectorsize" or "-s": Size of the sectors, defaults to 4KiB.
  • "metadata" or "-m": Metadats profile, raid0, raid1, raid10 or single
  • "data" or "-d": Data profile, values like metadata.

And after the options one or more devices.

Personal tools