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

From: Olivier Galibert (
Date: Sun Jun 04 2000 - 19:06:42 EST

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


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:19 EST