[LU-15952] man page of lfs project is a bit misleading when clearing prjid on top directory Created: 16/Jun/22  Updated: 11/Jul/22  Resolved: 11/Jul/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Feng Lei Assignee: Feng Lei
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-930 Update or improvement to a Lustre man... Open
Rank (Obsolete): 9223372036854775807

 Description   

The man page of lfs project -C states,

SYNOPSIS
   ...
       lfs project -C [-r|-k] <file|directory...>
      Clear the project inherit flag and ID on the file(s) or directories
       -C     Clear inherit attribute, project ID will be reset to be 0 in default
       -k     keep the project ID unchanged.

Actually there are 3 options to specify the recursion behavior:

 

-d  process only the top directory
-r  process the top directory and all its desendants recursively
  if neither -d nor -r is specified, process the top directory and its immediate children

Need to make the man page clear to users.



 Comments   
Comment by Gerrit Updater [ 16/Jun/22 ]

"Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47641
Subject: LU-15952 doc: improvement on lfs-project doc
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1d5496f35dc432ae9cb96fdf005c8d5f1d841f84

Comment by Gerrit Updater [ 11/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47641/
Subject: LU-15952 doc: improvement on lfs-project doc
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4a2498d22f46bfc52170baec6db4ce67671ac103

Comment by Peter Jones [ 11/Jul/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:22:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.