]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: add --mountpoint command line option
authorKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2015 11:08:30 +0000 (12:08 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2015 11:12:21 +0000 (12:12 +0100)
commit0009f510cb4bafabbec0d26acd7385436c3e7c8b
treeef70e8fab20dc7fa0deb44cc5926481c88d6f6e7
parent8ba3f35e07f736a0165669ac787b016b4311eb29
findmnt: add --mountpoint command line option

The current --target <path> implementation check the <path> elements in
reverse order to get the mountpoint. The feature may be inwanted in
some cases when we really want to check for mountpoint specified by
the <path>. The new option "--mountpoint <path>" allows to be strict.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.8
misc-utils/findmnt.c
tests/ts/mount/fstab-broken
tests/ts/mount/fstab-none
tests/ts/mount/move
tests/ts/mount/remount
tests/ts/mount/shared-subtree