]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
format: the error_action readonly is spelled remount_ro
authorLeah Neukirchen <leah@vuxu.org>
Fri, 9 Feb 2018 19:51:23 +0000 (20:51 +0100)
committerLeah Neukirchen <leah@vuxu.org>
Fri, 9 Feb 2018 19:51:23 +0000 (20:51 +0100)
bcachefs.8
cmd_format.c

index cb02ddb4ab9f4c5fa0ba3bf2f4fb0ae98298ca42..08dd005fd8b9780bb1fd8b51f18543dd373ba2ae 100644 (file)
@@ -120,9 +120,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
index 4462d3cab5cd484a828b9ae2f632c426110ae3e4..b6889ac1360b18001e03537d9ed87c91948a5f1a 100644 (file)
@@ -42,7 +42,7 @@ x(0,  data_replicas,          "#",                    NULL)                   \
 x(0,   metadata_replicas,      "#",                    NULL)                   \
 x(0,   encrypted,              NULL,                   "Enable whole filesystem encryption (chacha20/poly1305)")\
 x(0,   no_passphrase,          NULL,                   "Don't encrypt master encryption key")\
-x('e', error_action,           "(continue|readonly|panic)", NULL)              \
+x('e', error_action,           "(continue|remount-ro|panic)", NULL)            \
 x('L', label,                  "label",                NULL)                   \
 x('U', uuid,                   "uuid",                 NULL)                   \
 x('f', force,                  NULL,                   NULL)                   \
@@ -81,7 +81,7 @@ static void usage(void)
             "      --replicas=#            Sets both data and metadata replicas\n"
             "      --encrypted             Enable whole filesystem encryption (chacha20/poly1305)\n"
             "      --no_passphrase         Don't encrypt master encryption key\n"
-            "      --error_action=(continue|readonly|panic)\n"
+            "      --error_action=(continue|remount-ro|panic)\n"
             "                              Action to take on filesystem error\n"
             "  -L, --label=label\n"
             "  -U, --uuid=uuid\n"