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

From: H. Peter Anvin (
Date: Mon Jun 05 2000 - 03:46:58 EST

Followup to: <>
By author: Olivier Galibert <>
In newsgroup:
> 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.


<> at work, <> 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 Please read the FAQ at

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