]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - bcachefs.8
Makefile: rename D to BCACHEFS_DEBUG
[bcachefs-tools-debian] / bcachefs.8
index cb02ddb4ab9f4c5fa0ba3bf2f4fb0ae98298ca42..61af7f425a809a63cdf48570482f9b0b2729bf66 100644 (file)
@@ -1,5 +1,5 @@
-.Dd February 9, 2018
-.Dt BCACHEFS 8
+.Dd May 26, 2018
+.Dt BCACHEFS 8 SMM
 .Os
 .Sh NAME
 .Nm bcachefs
@@ -87,6 +87,11 @@ Dump filesystem metadata to a qcow2 image
 .It Ic list
 List filesystem metadata in textual form
 .El
+.Ss Miscellaneous commands
+.Bl -tag -width 18n -compact
+.It Ic version
+Display the version of the invoked bcachefs tool
+.El
 .Sh Superblock commands
 .Bl -tag -width Ds
 .It Nm Ic format Oo Ar options Oc Ar devices\ ...
@@ -94,7 +99,7 @@ Format one or a list of devices with bcachefs data structures.
 You need to do this before you create a volume.
 .Pp
 Device specific options must come before corresponding devices, e.g.
-.Dl bcachefs format --tier 0 /dev/sdb --tier 1 /dev/sdc
+.Dl bcachefs format --group=ssd /dev/sda --group=hdd /dev/sdb
 .Bl -tag -width Ds
 .It Fl b , Fl -block Ns = Ns Ar size
 block size, in bytes (e.g. 4k)
@@ -120,9 +125,9 @@ Enable whole filesystem encryption (chacha20/poly1305);
 passphrase will be prompted for.
 .It Fl -no_passphrase
 Don't encrypt master encryption key
-.It Fl -error_action Ns = Ns ( Cm continue | readonly | panic )
+.It Fl -error_action Ns = Ns ( Cm continue | remount-ro | panic )
 Action to take on filesystem error (default:
-.Cm readonly )
+.Cm remount-ro )
 .It Fl L , Fl -label Ns = Ns Ar label
 Create the filesystem with the specified
 .Ar label
@@ -145,12 +150,6 @@ Specifies the bucket size;
 must be greater than the btree node size
 .It Fl -discard
 Enable discards on subsequent devices
-.It Fl t , Fl -tier Ar index
-Specifies the tier of subsequent devices, where
-.Ar index
-is a small integer and a smaller index indicates a faster tier; tier 0
-being the fastest.
-Currently only two tiers are supported.
 .It Fl q , Fl -quiet
 Only print errors
 .El
@@ -211,8 +210,6 @@ Size of filesystem on device
 Set bucket size
 .It Fl -discard
 Enable discards
-.It Fl t , Fl -tier Ns = Ns Ar number
-Higher tier (e.g. 1) indicates slower devices
 .It Fl f , Fl -force
 Use device even if it appears to already be formatted
 .El
@@ -310,5 +307,10 @@ Verbose mode
 List mode
 .El
 .El
+.Sh Miscellaneous commands
+.Bl -tag -width Ds
+.It Nm Ic version
+Display the version of the invoked bcachefs tool
+.El
 .Sh EXIT STATUS
 .Ex -std