]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: use libmount to detect already mounted bind mounts
authorKarel Zak <kzak@redhat.com>
Tue, 31 May 2011 16:02:29 +0000 (18:02 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 31 May 2011 16:04:36 +0000 (18:04 +0200)
commit0cac8948216a298deaf5fd30837ed9cc80618f80
tree03bcccdf8666a581a2d54703bc77bb805ed25b23
parent5c60a0eab5155043f58fa88909d89e0b06cad2f8
mount: use libmount to detect already mounted bind mounts

It's pretty tricky to detect that a bind mount from fstab is already
mounted on system without /etc/mtab. Let's use functionality from
libmount.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=701176
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c