Whamcloud - gitweb
LU-12159 utils: improve lfs getname functionality 95/34595/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 4 Apr 2019 07:21:46 +0000 (01:21 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 May 2019 05:57:26 +0000 (05:57 +0000)
commit2a4821b836c82764ff13dbf32ba2386c9d3dca8e
treefdf639782b18d2efb2ffe01e318c940431654d3a
parent5d085745af43bd15e6b7ea728491600411833b2a
LU-12159 utils: improve lfs getname functionality

Add "-n" and "-i" options to lfs getname to allow printing only
the fsname or instance ID of the filesystem(s).

Split out the documentation to a separate lfs-getname.1 man page.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie132513325b6630fc5103a89b469271ba7392cb2
Reviewed-on: https://review.whamcloud.com/34595
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-getname.1 [new file with mode: 0644]
lustre/doc/lfs.1
lustre/utils/lfs.c