Re: Loopback (dir->dir) mounting (NOT -o loop)
H. Peter Anvin (hpa@zytor.com)
5 Jun 2000 01:46:58 -0700
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/