From: Arvin Schnell Date: Wed, 6 Feb 2013 13:24:13 +0000 (-0500) Subject: - read mount status from /proc/mounts X-Git-Tag: v0.1.3~39 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3ebd1812f4dffbb13e8924ea4eea9dc8de79a978;p=thirdparty%2Fsnapper.git - read mount status from /proc/mounts --- diff --git a/snapper/AppUtil.cc b/snapper/AppUtil.cc index 8487ec2a..aa00a9f1 100644 --- a/snapper/AppUtil.cc +++ b/snapper/AppUtil.cc @@ -165,7 +165,7 @@ namespace snapper bool getMtabData(const string& mount_point, bool& found, MtabData& mtab_data) { - FILE* f = setmntent("/etc/mtab", "r"); + FILE* f = setmntent("/proc/mounts", "r"); if (!f) { y2err("setmntent failed");