2.4.0-test3 mount bug

From: Claudius Link (linkclau@uni-freiburg.de)
Date: Wed Jul 12 2000 - 03:12:02 EST


Hello to all,

first, I am not subscribed for too long so I might have missed a
previous post of this. But I couldn't find it in the archives (or rather on for
2.1.51-1).

With 2.4.0-test3 (i586) you can mount the same device several times on the
same mount point without getting errors. I think this is a bug as it prevents
clean unmounting if you reboot. If a partition get mounted twice and you reboot,
it will get unmounted only once and has to be checked.

Sample (... representing all the other partitions):

        ~# mount -t ext2 /dev/sdb5 /mnt
        ~# mount
        ...
        /dev/sdb5 on /mnt type ext2 (rw)
        ~# mount -t ext2 /dev/sdb5 /mnt
        ~# mount -t ext2 /dev/sdb5 /mnt
        ~# mount
        ...
        /dev/sdb5 on /mnt type ext2 (rw)
        /dev/sdb5 on /mnt type ext2 (rw)
        /dev/sdb5 on /mnt type ext2 (rw)
        ~# umount /mnt
        ~# mount
        ... # not there any more, but you can still unmount it twice
        ~# umount /mnt
        ~# umount /mnt
        ~# umount /mnt
        umount: /mnt: not mounted

Regards,
Claudius

-- 

Claudius Link linkclau@uni-freiburg.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:14 EST