]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Asciidoc: Incorporate latest changes in findmnt.8
authorKarel Zak <kzak@redhat.com>
Mon, 29 Mar 2021 12:41:26 +0000 (14:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 29 Mar 2021 13:10:53 +0000 (15:10 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.8.adoc

index 1aa49ddaff3c9fed6d3818cb922e3b3a97f3ab3c..6a2c09ba9e4adb71ffd31cd75406c8b633cdf2cb 100644 (file)
@@ -17,7 +17,7 @@ findmnt - find a filesystem
 
 *findmnt* [options] _device_|_mountpoint_
 
-*findmnt* [options] [*--source*] _device_ [*--target*|*--mountpoint*] _mountpoint_
+*findmnt* [options] [*--source*] _device_ [*--target* _path_|*--mountpoint* _mountpoint_]
 
 == DESCRIPTION
 
@@ -25,6 +25,8 @@ findmnt - find a filesystem
 
 The device may be specified by device name, major:minor numbers, filesystem label or UUID, or partition label or UUID. Note that *findmnt* follows *mount*(8) behavior where a device name may be interpreted as a mountpoint (and vice versa) if the *--target*, *--mountpoint* or *--source* options are not specified.
 
+The command-line option *--target* accepts any file or directory and then *findmnt* displays the filesystem for the given path.
+
 The command prints all mounted filesystems in the tree-like format by default.
 
 == OPTIONS