summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReed Riley <reed@riley.engineer>2024-08-22 16:19:38 -0500
committerReed Riley <reed@riley.engineer>2024-08-22 16:23:51 -0500
commit6c32c8d9c9ea40045ccc1d5ed88d334b470989b1 (patch)
tree450594709c785656f4937ed0d521f1ae289591f1
parentd30bc111018c8522eefd154b0aade9a96b8103d9 (diff)
change setattr to set-file-option in docs/usage
-rw-r--r--c_src/cmd_attr.c4
-rw-r--r--doc/bcachefs.5.rst.tmpl9
2 files changed, 7 insertions, 6 deletions
diff --git a/c_src/cmd_attr.c b/c_src/cmd_attr.c
index bde9d8f6..1da41265 100644
--- a/c_src/cmd_attr.c
+++ b/c_src/cmd_attr.c
@@ -85,8 +85,8 @@ static void do_setattr(char *path, struct bch_opt_strs opts)
static void setattr_usage(void)
{
- puts("bcachefs setattr - set attributes on files in a bcachefs filesystem\n"
- "Usage: bcachefs setattr [OPTIONS]... <files>\n"
+ puts("bcachefs set-file-option - set attributes on files in a bcachefs filesystem\n"
+ "Usage: bcachefs set-file-option [OPTIONS]... <files>\n"
"\n"
"Options:");
diff --git a/doc/bcachefs.5.rst.tmpl b/doc/bcachefs.5.rst.tmpl
index 8805af02..e896b861 100644
--- a/doc/bcachefs.5.rst.tmpl
+++ b/doc/bcachefs.5.rst.tmpl
@@ -29,9 +29,10 @@ time, mount time (as mount -o parameters), or changed at runtime via sysfs (via
the /sys/fs/bcachefs/<UUID>/options/ directory).
Many of those options (particularly those that control the IO path) can also be
-set on individual files and directories, via the bcachefs setattr command (which
-internally mostly works via the extended attribute interface, but the setattr
-command takes care to propagate options to children correctly).
+set on individual files and directories, via the bcachefs set-file-option
+command (which internally mostly works via the extended attribute interface, but
+the set-file-option command takes care to propagate options to children
+correctly).
OPTIONS
-------
@@ -48,7 +49,7 @@ at the same time.
We generally avoid per-device options, preferring instead options that can be
overridden on files or directories, but there are some:
- *durability*
+ *durability*
Device labels, targets
----------------------