[systemd-devel] [PATCH] path_is_mount_point: handle false positive on some fs

Karel Zak kzak at redhat.com
Tue Mar 10 02:47:21 PDT 2015


On Mon, Mar 09, 2015 at 11:27:09AM +0100, Didier Roche wrote:
> Also we could on the longer term maybe getting the whole path_is_mount_point()
> logic into libmount from util-linux, using mnt_get_mountpoint() (but this
> one only use st_dev comparison presently)?

 mnt_table_find_mountpoint()

 http://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/libmount-docs/libmount-Table-of-filesystems.html#mnt-table-find-mountpoint

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list