Whamcloud - gitweb
LU-13031 tests: skip sanity/test_205h,205i in interop
[fs/lustre-release.git] / lustre / doc / lfs-getname.1
index dd43fb2..0b0217a 100644 (file)
@@ -1,6 +1,6 @@
 .TH LFS-GETSOM 1 2018-10-04 "Lustre" "lustre Utilities"
 .SH NAME
-lfs getname \- retrieve the filesystem name and instance ID
+lfs-getname \- retrieve the filesystem name and instance ID
 .SH SYNOPSIS
 .B lfs getname
 .RB [ --help | -h "] [" --instance | -i "] [" --fsname | -n ]
@@ -14,7 +14,7 @@ and instance ID for these mount points.
 .SH OPTIONS
 .TP
 .BR --help | -h
-Print the usage message.
+Print usage message.
 .TP
 .BR --fsname | -n
 Print only the Lustre filesystem name for each filesystem.  If
@@ -30,14 +30,20 @@ is used with a single
 .I pathname
 then the instance ID is printed without the mountpoint.
 .SH EXAMPLES
-.TP
 .B $ lfs getname
+.br
 myth-ffff880428703400 /myth
 .br
 testfs-ffff937009271000 /mnt/testfs
-.TP
+.P
 .B $ lfs getname -n /mnt/testfs
+.br
 testfs
+.P
+.B $ lfs getname -i /mnt/testfs
+.br
+ffff937009271000
 .SH SEE ALSO
 .BR lfs (1),
+.BR llapi_getname (3),
 .BR lustre (7)