]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: revert "read mtab on remount" idea
authorKarel Zak <kzak@redhat.com>
Fri, 16 Jan 2015 11:24:57 +0000 (12:24 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Jan 2015 11:24:57 +0000 (12:24 +0100)
commit2498303575b85fe0a81dabb3775eb0a60a5f420a
tree0b09e0c58d9736777113e07edc446fb26a150715
parent861b11d5e24c5db463463fb6c047e72456597a5b
libmount: revert "read mtab on remount" idea

It's backwardly incompatible nonsense to prefer mtab on remount.

 mount -o remount /foo

has to read mount options from fstab otherwise the remount has no
effect. (The ideal solution would be to read both mtab, then modify
the options according to fstab -- but for now more important is to be
backwardly compatible.)

References: https://bugzilla.redhat.com/show_bug.cgi?id=1182778
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
sys-utils/mount.8