Merge pull request #333 from reedriley/master

fix setattr in usage/docs; bump version in various places from v1.9.5 (wrong) to v1.11.1
This commit is contained in:
koverstreet 2024-08-23 17:47:05 -04:00 committed by GitHub
commit 6f938e0399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 10 deletions

2
Cargo.lock generated
View File

@ -73,7 +73,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "bcachefs-tools"
version = "1.9.5"
version = "1.11.1"
dependencies = [
"anyhow",
"bch_bindgen",

View File

@ -1,6 +1,6 @@
[package]
name = "bcachefs-tools"
version = "1.9.5"
version = "1.11.1"
authors = ["Yuxuan Shui <yshuiv7@gmail.com>", "Kayla Firestack <dev@kaylafire.me>", "Kent Overstreet <kent.overstreet@linux.dev>" ]
edition = "2021"
rust-version = "1.70"

View File

@ -1,4 +1,4 @@
VERSION=1.9.5
VERSION=1.11.1
PREFIX?=/usr/local
LIBEXECDIR?=$(PREFIX)/libexec

View File

@ -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:");

View File

@ -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
-------