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

Alexander Viro (viro@math.psu.edu)
Sun, 14 Oct 2001 12:29:58 -0400 (EDT)


On Sun, 14 Oct 2001, Ville Herva wrote:

> FYI, this causes the last mount process to hang in D state (kill -KILL does
> not affect it):
>
> $ mount --bind -o nosuid,noexec,ro /bin /tmp/test
> $ mount --bind -o nosuid,noexec,ro /bin /tmp/test
> $ mount --bind -o remount,nosuid,noexec,ro /tmp/test

What version of mount(8)? Or, better yet, how about
strace -e trace=mount,umount
of the whole thing?

-
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/