[lkml]   [1999]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.2.5:fs/super.c comment indicates stacked mounts possible?
On Mon, Apr 12, 1999 at 02:31:27AM -0700, Michael Hasenstein wrote:
> This seems to indicate I can mount several filesystems under one mount
> point? (I didn't find any further comments/code for this)

Just try to do it ... you can't.
What you can do is mount a fs over non-empty subdirs of a mountpoint.

> I'm asking because I'm thinking about an overlay mount function, which
> means you can mount a filesystem on top of another one on the same
> mount point. Purpose: for example, I could overlay my minimal /usr
> installation with a big nfs-mounted /usr filesystem, and all the files
> that don't exist locally on the disk are taken (transparently) from the
> nfs filesystem. The question above has not much to do with this except
> that I'm curious now that I discovered that comment, but maybe some
> people who're familiar with the fs-implementation could comment on the idea.

The old content disappears, if you another fs over an old one. There's no
way to get the sum.

Dipl.Phys. Kurt Garloff <> [Wuppertal, FRG]
Plasma physics, high perf. computing [Linux-ix86,-axp, DUX]
PGP key: see mailheader / key servers [Linux SCSI driver: DC390]
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 13:51    [W:0.043 / U:4.932 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site