mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-10 00:00:24 +03:00
change setattr to set-file-option in docs/usage
This commit is contained in:
parent
d30bc11101
commit
6c32c8d9c9
@ -85,8 +85,8 @@ static void do_setattr(char *path, struct bch_opt_strs opts)
|
|||||||
|
|
||||||
static void setattr_usage(void)
|
static void setattr_usage(void)
|
||||||
{
|
{
|
||||||
puts("bcachefs setattr - set attributes on files in a bcachefs filesystem\n"
|
puts("bcachefs set-file-option - set attributes on files in a bcachefs filesystem\n"
|
||||||
"Usage: bcachefs setattr [OPTIONS]... <files>\n"
|
"Usage: bcachefs set-file-option [OPTIONS]... <files>\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Options:");
|
"Options:");
|
||||||
|
|
||||||
|
|||||||
@ -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).
|
the /sys/fs/bcachefs/<UUID>/options/ directory).
|
||||||
|
|
||||||
Many of those options (particularly those that control the IO path) can also be
|
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
|
set on individual files and directories, via the bcachefs set-file-option
|
||||||
internally mostly works via the extended attribute interface, but the setattr
|
command (which internally mostly works via the extended attribute interface, but
|
||||||
command takes care to propagate options to children correctly).
|
the set-file-option command takes care to propagate options to children
|
||||||
|
correctly).
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
@ -48,7 +49,7 @@ at the same time.
|
|||||||
We generally avoid per-device options, preferring instead options that can be
|
We generally avoid per-device options, preferring instead options that can be
|
||||||
overridden on files or directories, but there are some:
|
overridden on files or directories, but there are some:
|
||||||
|
|
||||||
*durability*
|
*durability*
|
||||||
|
|
||||||
Device labels, targets
|
Device labels, targets
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user