Re: mount --bind and -o [re: nosuid/noexec/nodev handling]

Ville Herva (vherva@mail.niksula.cs.hut.fi)
Sun, 14 Oct 2001 20:09:57 +0300


On Sun, Oct 14, 2001 at 12:20:34PM -0400, you [Alexander Viro] claimed:
>
>
> On Sun, 14 Oct 2001, Ville Herva wrote:
>
> > BTW, I just managed get a mount process to unkillable (-9) state while
> > playing with --bind. You might be uninterested in details if I can figure
> > out how to reproduce it?
>
> I would be _very_ interested in details. A word of warning, though -
> /proc/mounts is b0rken. If its output grows beyond 4Kb (no matter what
> had caused that - lots of NFS mounts, many bindings, etc.) it silently
> truncates the output. Result: deeply confused umount -a.
>
> I'll post the fix as soon as I finish it. For now too many mountpoints
> of any description == confused df and umount -a.

$ wc -c /proc/mounts
663 /proc/mounts

In this case the /proc/mounts seems not to be the problem. Also, mount out
put is sane and further mount commands succeed.


-- v --

v@iki.fi
-
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/