diff options
author | Karel Zak | 2011-03-31 21:26:57 +0200 |
---|---|---|
committer | Karel Zak | 2011-03-31 21:26:57 +0200 |
commit | a362ae601a4f047d56fc8487155733309da5a7ec (patch) | |
tree | 43cb2e779a382f7634d936d61dc1edefc06bdb55 /shlibs/mount/src/fs.c | |
parent | tests: add dump from PPC64 to lscpu tests (diff) | |
download | kernel-qcow2-util-linux-a362ae601a4f047d56fc8487155733309da5a7ec.tar.gz kernel-qcow2-util-linux-a362ae601a4f047d56fc8487155733309da5a7ec.tar.xz kernel-qcow2-util-linux-a362ae601a4f047d56fc8487155733309da5a7ec.zip |
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 <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/fs.c')
-rw-r--r-- | shlibs/mount/src/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |