]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: add match_by_file to do within-device matching
authorDave Reisner <dreisner@archlinux.org>
Thu, 26 Apr 2012 00:30:52 +0000 (20:30 -0400)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Apr 2012 07:38:07 +0000 (09:38 +0200)
commitb215d8e9a71ca8d22df6111ddc9d28bd896febb1
treea20078fbe2302d167a96ee3eec61fa4920a1d9be
parentcd3d6c5bd0d2d4350972dc38d53753b5581c1941
findmnt: add match_by_file to do within-device matching

Use the newly exported mnt_get_mountpoint to determine the device that a
given file resides on, in case the supplied source or target is not
explicitly a mount point.

http://www.spinics.net/lists/util-linux-ng/msg06081.html

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
misc-utils/findmnt.c