]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: allow unspecified source on remount
authorKarel Zak <kzak@redhat.com>
Thu, 18 Dec 2014 09:30:14 +0000 (10:30 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 18 Dec 2014 09:47:39 +0000 (10:47 +0100)
commit01966ce852ac6c46e7e35a8e4f981dea88620ff8
tree07764c970d4bffbc4180bd43964a882f27e05d46
parentfe2c9909cd127b5be0f103b8e633807c6afde000
libmount: allow unspecified source on remount

kernel does not require mount source (e.g. device name) on remount, it
means that fstab/mtab/mountinfo should be optional in this case.
For example:

 mount -o rw,remount /

has to work on system without mounted /proc.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
sys-utils/mount.8