]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: (new) add 'internal-only(i)' to non-root allowed options
authorRaghavendra D Prabhu <rprabhu@wnohang.net>
Sun, 26 Feb 2012 11:06:42 +0000 (16:36 +0530)
committerKarel Zak <kzak@redhat.com>
Tue, 28 Feb 2012 14:37:29 +0000 (15:37 +0100)
commit50d0ad9875af9e478cd2577ac42041b16170a691
tree622ae29ec48cef7423a72b7deaffe76a59e9de03
parentb420e279691f8ac865ccdbccb377024a55debd41
mount: (new) add 'internal-only(i)' to non-root allowed options

Commit ce433404 introduced the change, which causes something like mount -i
<user-mount-path> to break which worked well before util-linux-2.21, now it
gives message 'mount: only root can use "--internal-only" option' when that
shouldn't be the case when it is already in fstab.

Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
sys-utils/mount.c