summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-09 20:51:23 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-09 20:51:23 +0100
commite523a844d63e998a1291823ff7b5cf05fcc4a427 (patch)
tree84fd66e5e363a1930bf418fb18c98b637698c5bb
parent79ce40239a02877a43da963feb4782e8d3286de7 (diff)
format: the error_action readonly is spelled remount_ro
-rw-r--r--bcachefs.84
-rw-r--r--cmd_format.c4
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"