summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 cb02ddb4..08dd005f 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 4462d3ca..b6889ac1 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"