Re: [RFC] Filesystem with multiple mount-points

From: viro
Date: Sun May 02 2004 - 11:30:36 EST


On Sun, May 02, 2004 at 06:18:20PM +0200, Guennadi Liakhovetski wrote:
> See "not nice" above. With the proposed option I would like to avoid
> having one file appear at multiple paths. IOW each file would appear in no
> more than 1 place in the tree.

<shrug>

mount <whatever> /tmp/blah
mount --bind /tmp/blah/relative_path /desired_mountpoint
umount -l /tmp/blah

and you've got an exact equivalent of your "mount a subtree".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/