Re: Loopback (dir->dir) mounting (NOT -o loop)

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Jun 05 2000 - 03:46:58 EST


Followup to: <20000604200642.A31166@nemesis.ncsl.nist.gov>
By author: Olivier Galibert <galibert@pobox.com>
In newsgroup: linux.dev.kernel
>
> On Sat, Jun 03, 2000 at 11:22:01AM -0400, Alexander Viro wrote:
> > Umm... You know, I'ld rather have a way to determine whether <foo> is a
> > mountpoint. That would be useful for things a-la tar(1), find(1), etc. -
> > ->st_dev comparison is a kludge, after all the question is about one
> > point in namespace, not two. OTOH bits in ->st_mode are scarce...
>
> The stat structure already has to change because of st_dev and
> st_nlink anyway, at least for 2.5. Why not adding a st_flags in the
> process?
>

THat would need to change every user-space program in the universe
which currently cares about this, though.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:20 EST