[LU-7495] lfs find is missing "-links" support Created: 28/Nov/15  Updated: 17/Jun/23  Resolved: 19/May/23

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Thomas Bertschinger
Resolution: Fixed Votes: 0
Labels: easy, lfs, lug23dd

Issue Links:
Related
is related to LU-5170 lfs usability Open
is related to LU-7502 add lfs find --mdt-count and --mdt-ha... Resolved
is related to LU-15837 "lfs find -printf" improvements Open
is related to LU-15276 DNE3: "lfs find" able to check defaul... Open
is related to LU-15504 "lfs find" is missing "-ls" support Open
is related to LU-10378 "lfs find" is missing "-printf" support Resolved
is related to LU-11188 Add to "lfs find" the ability to chec... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

The lfs find command has no way to specify files with a specific nlink count. This should be implemented using the --links option and add "-printf %n" format.



 Comments   
Comment by Gerrit Updater [ 08/May/23 ]

"Thomas Bertschinger <bertschinger@lanl.gov>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50886
Subject: LU-7495 utils: add -links option for lfs find
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 160711d8b6fc26b585318a0c3f85986a014bbf73

Comment by Gerrit Updater [ 19/May/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50886/
Subject: LU-7495 utils: add --links option for lfs find
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f759d6386d5d0edb95d683d97ca8d84c80080c1c

Comment by Peter Jones [ 19/May/23 ]

Landed for 2.16

Generated at Sat Feb 10 02:09:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.