[CentOS] "Overlay" Filesystem Mounts?

Tue Nov 15 17:22:13 UTC 2011
Tim Nelson <tnelson at rockbochs.com>

----- Original Message -----
> Vreme: 11/15/2011 05:44 PM, Tim Nelson piše:
> >
> > However, it is possible to mount all of the shares to one location,
> > such that there is one 'data' dir, with the combined contents of
> > each of the three shares? So, all shares are mounted at /mnt/s1, and
> > the contents of the multiple data dirs appears in one single data
> > dir?
> >
> > The only time I've seen such functionality is within the XBMC media
> > center application. It allows you to mount multiple network shares,
> > but shows them all in one location as a sort of 'overlay' view.
> > Duplicate directories are shown have their contents merged, but
> > remain intact on the actual shares/filesystem.
> >
> > Does any of this make sense? Is it possible with CentOS (pref. 6) ?
> >
> If nothing else, you could create ans script that would create
> symlinks
> from all files in those directories into single one. I use that
> technique to create combined repository directory for mrepo.

I'm already doing this. It "works", but is quite messy. I had hoped there would be an actual filesystem merging function that would do this automagically.