[clug] Re: how do I mount 2 dirs into one? (linux Digest, Vol 73,
Issue 30, Message 1)
mgoodhew at gmail.com
Sun Jan 18 12:40:12 GMT 2009
> Date: Sun, 18 Jan 2009 14:54:47 +1100
> Message-ID: <4972A807.3020804 at wilsononline.id.au>
> is it possible to combine two directories into one mount point?
<< blah, blah, blah>>
Unionfs could possibly do this, but it might be simpler to just sym-
link all the files in the two directories into a third location and
share that out.
"% cp -sr [from] [to]"
If the two sources and the destination are on the same filesystem,
regular linking might be what you want (and might soothe less cluey
services if they choke on symlinks):
"% cp -lr [from] [to]"
Not entirely sure what the result of nested source directories might
be - go play!
More information about the linux