Minor bug (?) in mountpoint handling in 2.4.18

From: Michael Meskes (Michael.Meskes@credativ.de)
Date: Wed Jul 17 2002 - 08:40:18 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:23 EST