Re: Mount -o bind strange behaviour

From: viro
Date: Sat Jul 10 2004 - 08:55:20 EST


On Sat, Jul 10, 2004 at 03:33:28PM +0200, Massimo Cetra wrote:
> I have mounted several directories with option -o bind in order to have
> some files avalaible in a chroot.
>
> Mount -o bind /dir1 /dir2
>
> Yesterday I noticed that modifying some files in /dir1 didn't cause the
> corresponding files in /dir2 to be modified.
> It happened only for one mountpoint, not for the otner similar
> mountpoints.
> Umount && mount solved the problem.
>
> The only strange thing is that some hours before i noticed this
> behaviour, machine load reached 150 (apache was overloaded)
>
> Is it a bug somewhere in the kernel ?

No way to tell without at least the contents of your /proc/mounts before and
after...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/