findmnt: add note about mount options

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2016-12-08 14:11:02 +01:00
parent 1c4b2d4392
commit de22cb2b12
2 changed files with 6 additions and 3 deletions

View File

@ -95,7 +95,8 @@ Use JSON output format.
.BR \-k , " \-\-kernel"
Search in
.IR /proc/self/mountinfo .
The output is in the tree-like format. This is the default.
The output is in the tree-like format. This is the default. The output
contains only mount options maintained by kernel (see also \fB\-\-mtab)\fP.
.TP
.BR \-l , " \-\-list"
Use the list output format. This output format is automatically enabled if the
@ -109,7 +110,8 @@ Explicitly define the mountpoint file or directory. See also \fB\-\-target\fP.
.BR \-m , " \-\-mtab"
Search in
.IR /etc/mtab .
The output is in the list format (see \fB\-\-list\fP).
The output is in the list format (see \fB\-\-list\fP). The output may include user
space mount options.
.TP
.BR \-N , " \-\-task \fItid\fP"
Use alternative namespace /proc/<tid>/mountinfo rather than the default

View File

@ -1194,7 +1194,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
fputs(USAGE_OPTIONS, out);
fputs(_(" -s, --fstab search in static table of filesystems\n"), out);
fputs(_(" -m, --mtab search in table of mounted filesystems\n"), out);
fputs(_(" -m, --mtab search in table of mounted filesystems\n"
" (includes user space mount options)\n"), out);
fputs(_(" -k, --kernel search in kernel table of mounted\n"
" filesystems (default)\n"), out);
fputc('\n', out);