Minor bug (?) in mountpoint handling in 2.4.18

Michael Meskes (Michael.Meskes@credativ.de)
Wed, 17 Jul 2002 15:40:18 +0200


fs/namespace::do_add_mount() says:

...
/* Refuse the same filesystem on the same mount point */
...

However, it is still possible to mount the same NFS filesystem to the
same mountpoitn several times:

mme@feivel:/.autofs/nfs/home/mme$ sudo mount zwerg:/exports/usr.local
/mnt
Password:
mme@feivel:/.autofs/nfs/home/mme$ sudo mount zwerg:/exports/usr.local
/mnt
mme@feivel:/.autofs/nfs/home/mme$ df|grep mnt
8570480 5685768 2449352 70% /mnt
8570480 5685768 2449352 70% /mnt

I'm not sure if this really is a bug as technically it does not create a
problem, but I know a lot of users who are pretty confused.

Michael

P.S.: Please CC me on replies.

-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/