]> err.no Git - util-linux/commit
mount: more verbose "mount: only root can do that" message
authorKarel Zak <kzak@redhat.com>
Wed, 30 Sep 2009 14:54:17 +0000 (16:54 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Sep 2009 14:54:17 +0000 (16:54 +0200)
commit3d1b35b62dd15282162c21895c25b297768dcbb6
treefaa9951f9795a06e7e18611dbb59dc8bfed347a9
parent4c24a7aed67282a49d5e133173c207bf35dcca4a
mount: more verbose "mount: only root can do that" message

> [chroot-i486] root:/$ whoami
> root
> [chroot-i486] root:/$ mkdir -p /dev1
> [chroot-i486] root:/$ mount --move /dev /dev1
> mount: only root can do that

Reported-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c