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

From: Ville Herva (
Date: Sun Oct 14 2001 - 12:09:57 EST

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 --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:54 EST