Whamcloud - gitweb
LU-11848 filefrag: add -V option to print version 73/40873/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 4 Dec 2020 22:11:07 +0000 (15:11 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Dec 2020 08:48:51 +0000 (08:48 +0000)
commit233fe52cade6dd2317db3cd5698e924c82328ad8
tree138e97cdf6202233b2a8c7ba5deac952a6c86462
parent0b6718f5e22d57cedb732f0253e1e7deb4c80931
LU-11848 filefrag: add -V option to print version

Add '-V' to filefrag to print the installed version of the tool.

If '-V' is used twice, print out the list of supported FIEMAP flags.
This can be used to check if filefrag understands a specific feature.

Change-Id: Ib126bdd70efa1775aef6db761f54e27a593ebbe5
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/40873
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
misc/filefrag.8.in
misc/filefrag.c