From e523a844d63e998a1291823ff7b5cf05fcc4a427 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 9 Feb 2018 20:51:23 +0100 Subject: [PATCH] format: the error_action readonly is spelled remount_ro --- bcachefs.8 | 4 ++-- cmd_format.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bcachefs.8 b/bcachefs.8 index cb02ddb..08dd005 100644 --- a/bcachefs.8 +++ b/bcachefs.8 @@ -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 diff --git a/cmd_format.c b/cmd_format.c index 4462d3c..b6889ac 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -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" -- 2.39.2