From: Dave Chinner <david@fromorbit.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: cem@kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH 7/7] xfs_property: add a new tool to administer fs properties
Date: Fri, 2 Aug 2024 10:25:28 +1000 [thread overview]
Message-ID: <ZqwneN77aO3zoICz@dread.disaster.area> (raw)
In-Reply-To: <172230940678.1543753.11215656166264361855.stgit@frogsfrogsfrogs>
On Mon, Jul 29, 2024 at 08:21:32PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Create a tool to list, get, set, and remove filesystem properties.
>
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
> man/man8/xfs_property.8 | 52 ++++++++++++++++++++++++++++++++
> spaceman/Makefile | 3 +-
> spaceman/xfs_property | 77 +++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 131 insertions(+), 1 deletion(-)
> create mode 100644 man/man8/xfs_property.8
> create mode 100755 spaceman/xfs_property
Ah, there's the admin wrapper. :)
I should have read the whole patch set before commenting.
> diff --git a/man/man8/xfs_property.8 b/man/man8/xfs_property.8
> new file mode 100644
> index 000000000000..63245331bd86
> --- /dev/null
> +++ b/man/man8/xfs_property.8
> @@ -0,0 +1,52 @@
> +.TH xfs_property 8
> +.SH NAME
> +xfs_property \- examine and edit properties about an XFS filesystem
> +.SH SYNOPSIS
> +.B xfs_property
> +.I target
> +.B get
> +.IR name ...
> +.br
> +.B xfs_property
> +.I target
> +.B list [ \-v ]
> +.br
> +.B xfs_property
> +.I target
> +.B set
> +.IR name=value ...
> +.br
> +.B xfs_property
> +.I target
> +.B remove
> +.IR name ...
> +.br
> +.B xfs_property \-V
> +.SH DESCRIPTION
> +.B xfs_property
> +retrieves, lists, sets, or removes properties of an XFS filesystem.
> +Filesystem properties are root-controlled attributes set on the root directory
> +of the filesystem to enable the system administrator to coordinate with
> +userspace programs.
> +
> +.SH COMMANDS
> +.TP
> +.B get
> +.IR name ...
> +Prints the values of the given filesystem properties.
> +.TP
> +.B list
> +Lists the names of all filesystem properties.
> +If the
> +.B -v
> +flag is specified, prints the values as well.
> +.TP
> +.B set
> +.IR name = value ...
> +Sets the given filesystem properties to the specified values and prints what
> +was set.
> +.TP
> +.B
> +remove
> +.IR name ...
> +Unsets the given filesystem properties.
What does the -V option do? It's documented as existing, but not
explained.
Otherwise looks fine.
-Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2024-08-02 0:25 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-30 3:10 [RFC PATCHSET] xfsprogs: filesystem properties Darrick J. Wong
2024-07-30 3:18 ` [PATCHSET v30.9 1/3] " Darrick J. Wong
2024-07-30 3:19 ` [PATCH 1/7] libfrog: support editing filesystem property sets Darrick J. Wong
2024-07-30 21:40 ` Christoph Hellwig
2024-07-30 3:20 ` [PATCH 2/7] xfs_spaceman: edit filesystem properties Darrick J. Wong
2024-07-30 21:41 ` Christoph Hellwig
2024-07-30 22:37 ` Darrick J. Wong
2024-07-31 15:41 ` Christoph Hellwig
2024-08-02 0:16 ` Dave Chinner
2024-07-30 3:20 ` [PATCH 3/7] xfs_db: improve getting and setting extended attributes Darrick J. Wong
2024-07-30 21:37 ` Christoph Hellwig
2024-07-30 3:20 ` [PATCH 4/7] libxfs: hoist listxattr from xfs_repair Darrick J. Wong
2024-07-30 21:38 ` Christoph Hellwig
2024-07-31 17:55 ` Darrick J. Wong
2024-07-30 3:21 ` [PATCH 5/7] libxfs: pass a transaction context through listxattr Darrick J. Wong
2024-07-30 21:38 ` Christoph Hellwig
2024-07-30 3:21 ` [PATCH 6/7] xfs_db: add a command to list xattrs Darrick J. Wong
2024-07-30 21:39 ` Christoph Hellwig
2024-07-30 3:21 ` [PATCH 7/7] xfs_property: add a new tool to administer fs properties Darrick J. Wong
2024-07-30 21:43 ` Christoph Hellwig
2024-07-30 22:28 ` Darrick J. Wong
2024-07-31 15:42 ` Christoph Hellwig
2024-07-31 17:56 ` Darrick J. Wong
2024-08-02 0:25 ` Dave Chinner [this message]
2024-07-30 3:19 ` [PATCHSET v30.9 2/3] xfs_scrub: control of autonomous self healing Darrick J. Wong
2024-07-30 3:21 ` [PATCH 1/3] libfrog: define a self_healing filesystem property Darrick J. Wong
2024-07-30 21:56 ` Christoph Hellwig
2024-07-30 23:51 ` Darrick J. Wong
2024-07-31 15:43 ` Christoph Hellwig
2024-07-31 17:45 ` Darrick J. Wong
2024-07-31 19:43 ` Christoph Hellwig
2024-07-30 3:22 ` [PATCH 2/3] xfs_scrub: allow sysadmin to control background scrubs Darrick J. Wong
2024-07-30 3:22 ` [PATCH 3/3] mkfs: set self_healing property Darrick J. Wong
2024-07-30 3:19 ` [PATCHSET v30.9 3/3] xfs_scrub: separate package for self healing Darrick J. Wong
2024-07-30 3:22 ` [PATCH 1/3] misc: shift install targets Darrick J. Wong
2024-07-30 3:22 ` [PATCH 2/3] xfs_scrub: use the self_healing fsproperty to select mode Darrick J. Wong
2024-07-30 3:23 ` [PATCH 3/3] debian: create a new package for automatic self-healing Darrick J. Wong
2024-07-30 3:19 ` [PATCHSET v30.9] fstests: xfs filesystem properties Darrick J. Wong
2024-07-30 3:23 ` [PATCH 1/1] xfs: functional testing for " Darrick J. Wong
2024-07-30 3:25 ` [PATCHSET v30.9] fstests: xfs " Darrick J. Wong
2024-08-02 0:29 ` [RFC PATCHSET] xfsprogs: " Dave Chinner
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 18:18 [PATCHSET v30.10 1/3] " Darrick J. Wong
2024-08-06 18:21 ` [PATCH 7/7] xfs_property: add a new tool to administer fs properties Darrick J. Wong
2024-08-07 16:10 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZqwneN77aO3zoICz@dread.disaster.area \
--to=david@fromorbit.com \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox