From a362ae601a4f047d56fc8487155733309da5a7ec Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 31 Mar 2011 21:26:57 +0200 Subject: libmount: support /run/mount rather than /dev/.mount The /run directory should be preferred on distributions where this directory exists. http://thread.gmane.org/gmane.linux.redhat.fedora.devel/146976 Signed-off-by: Karel Zak --- shlibs/mount/src/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shlibs/mount/src/fs.c') diff --git a/shlibs/mount/src/fs.c b/shlibs/mount/src/fs.c index 75ec4b476..c7a4fce02 100644 --- a/shlibs/mount/src/fs.c +++ b/shlibs/mount/src/fs.c @@ -796,7 +796,7 @@ const char *mnt_fs_get_attributes(struct libmnt_fs *fs) * * Sets mount attributes. The attributes are mount(2) and mount(8) independent * options, these options are not send to kernel and are not interpreted by - * libmount. The attributes are stored in /dev/.mount/utab only. + * libmount. The attributes are stored in /run/mount/utab only. * * The atrtributes are managed by libmount in userspace only. It's possible * that information stored in userspace will not be available for libmount @@ -952,7 +952,7 @@ int mnt_fs_set_root(struct libmnt_fs *fs, const char *root) /** * mnt_fs_get_bindsrc: - * @fs: /dev/.mount/utab entry + * @fs: /run/mount/utab entry * * Returns: full path that was used for mount(2) on MS_BIND */ -- cgit v1.2.3-55-g7522