From 6c32c8d9c9ea40045ccc1d5ed88d334b470989b1 Mon Sep 17 00:00:00 2001 From: Reed Riley Date: Thu, 22 Aug 2024 16:19:38 -0500 Subject: [PATCH 1/2] change setattr to set-file-option in docs/usage --- c_src/cmd_attr.c | 4 ++-- doc/bcachefs.5.rst.tmpl | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/c_src/cmd_attr.c b/c_src/cmd_attr.c index bde9d8f6b..1da412658 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]... \n" + puts("bcachefs set-file-option - set attributes on files in a bcachefs filesystem\n" + "Usage: bcachefs set-file-option [OPTIONS]... \n" "\n" "Options:"); diff --git a/doc/bcachefs.5.rst.tmpl b/doc/bcachefs.5.rst.tmpl index 8805af02f..e896b8613 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//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 ---------------------- From 481a50f0a9f117320d7c1476abca12817c4a7c85 Mon Sep 17 00:00:00 2001 From: Reed Riley Date: Thu, 22 Aug 2024 16:26:18 -0500 Subject: [PATCH 2/2] version bump to v1.11.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7938bbf3a..8f911bf24 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bcachefs-tools" -version = "1.9.5" +version = "1.11.1" dependencies = [ "anyhow", "bch_bindgen", diff --git a/Cargo.toml b/Cargo.toml index 0a65a3c04..dab3ef644 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bcachefs-tools" -version = "1.9.5" +version = "1.11.1" authors = ["Yuxuan Shui ", "Kayla Firestack ", "Kent Overstreet " ] edition = "2021" rust-version = "1.70" diff --git a/Makefile b/Makefile index 6358fac25..6f4122dab 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.9.5 +VERSION=1.11.1 PREFIX?=/usr/local LIBEXECDIR?=$(PREFIX)/libexec @@ -287,7 +287,7 @@ tarball: $(SRCTARXZ) $(SRCTARXZ) : .gitcensus $(Q)tar --transform "s,^,$(SRCDIR)/," -Jcf $(SRCDIR).tar.xz \ - `cat .gitcensus` + `cat .gitcensus` @echo Wrote: $@ .PHONY: .gitcensus