[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mount problems with kernel 2.4.X



Hi,
 
There is a "mount" problem with kernel 2.4.X (2.4.2-2, 2.4.7,...2.4.18)
 
When you try to mount a local or remote file system to a specific mount point,
and you issue the same command several time, to the SAME mount point,
you will not get an warning, that this mount point is already mounted.
 
Instead, you'll get several duplicated entries in /proc/mounts and /etc/mtab.
The "df" command will of course output the same multiple entries.
 
One umount command removes ALL the entries from /etc/mtab when kernel 2.4
is tailored to RedHat 6.2, but you need the same number of umounts, as of the
mounts done in RedHat 7.1 .
 
Has somebody encountered such a problem ? How to resolve it ?
 
In kernrels 2.2.X an ttempt to mount fails, with the expected message:
 
mount: /filesystem already mounted or /mountpoint busy
mount: according to mtab, /filesystem is already mounted on /mountpoint
 
Thanks,
 
Avi Koski