Package: mount
version: 2.4
revision: 5

mount report a wrong error msg, if a user tries to re-mount a already
mounted device:

# uname -a
Linux luna 1.2.13 #8 Mon Sep 4 10:50:08 MET DST 1995 i486
# mount --version
(u)mount: version from util-linux-2.2
# grep /CD /etc/fstab
/dev/scd0       /CD             iso9660 ro,user,noauto
# mount -v /CD
/dev/scd0 on /CD type iso9660 (ro,noexec,nosuid,nodev)
# mount /CD
mount: /dev/scd0 already mounted or /CD busy
    This error msg is OK.

# su - ke
luna:/home/karl$ mount -v /CD
mount: only root can mount /dev/scd0 on /CD
    *** Not OK.

luna:/home/karl$ exit
logout
# umount /CD
# su - ke
luna:/home/karl$ mount -v /CD
/dev/scd0 on /CD type iso9660 (ro,noexec,nosuid,nodev)
luna:/home/karl$ mount -v /CD
mount: only root can mount /dev/scd0 on /CD
    *** Same bug.

Reply via email to