Package: xfsprogs Version: 4.9.0+nmu1 Tags: patch The help text of the "project" command in xfs_quota says:
"A managed tree must be setup initially using the -c option with a project." This is not correct: the -s option (as opposed to -c) will set up a managed tree. To reproduce: root@bwp-249-8:~# xfs_quota -x xfs_quota> help project [..snip..] A managed tree must be setup initially using the -c option with a project. [..snip..] Trivial patch attached.
diff -Nru xfsprogs-4.9.0+nmu1.orig/quota/project.c xfsprogs-4.9.0+nmu1/quota/project.c --- xfsprogs-4.9.0+nmu1.orig/quota/project.c 2017-01-05 23:05:55.000000000 +0100 +++ xfsprogs-4.9.0+nmu1/quota/project.c 2018-05-15 11:31:36.508219567 +0200 @@ -55,7 +55,7 @@ " and subdirectories below it (i.e. a tree) can be restricted to using a\n" " subset of the available space in the filesystem.\n" "\n" -" A managed tree must be setup initially using the -c option with a project.\n" +" A managed tree must be setup initially using the -s option with a project.\n" " The specified project name or identifier is matched to one or more trees\n" " defined in /etc/projects, and these trees are then recursively descended\n" " to mark the affected inodes as being part of that tree - which sets inode\n"