You are not logged in.
Pages: 1
Topic closed
Hi
I have 3 directories, files1, files2 and files. I would like to 'mount --bind' files1 and files2 in files, so that when you enter files you see the contents of both files1 and files2. Is this possible and how do I do it ![]()
Thank you in advance
/ledet
Last edited by ledet (2008-01-08 15:14:54)
Offline
mount --bind allows access to one set of files from two different mount points. You want to access two sets of files from one mount point, so you need to use unionfs or aufs. Both are supported by the Arch kernel package.
Offline
Thanks! I'll take a look at aufs
Offline
Installed aufs and aufs-utils. Got it working with this command:
mount -t aufs -o dirs=/path/to/files1:/path/to/files2 none /path/to/filesTo mount the dirs automatically, I added this line to fstab:
none /path/to/files aufs dirs=/path/to/files1:/path/to/files2 0 0Offline
I think this is one of the best "asking for help" threads I've seen.
A question was asked, a starting-point was given, the potential solution researched by the questioner, and then the final solution posted by the OP so that anyone else looking for this answer will have it.
Awesome.
Offline
Not yet completed....no solved statement in title....
My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....
Offline
Cerebral, not to mention the crystal clear title chosen, the 'thanks' post, and the minimality of post counts in that case (4).
lilsirecho, yes, so close to perfection... once one marks it solved, I'll make a snapshot of it!
Last edited by lloeki (2008-01-08 14:53:38)
To know recursion, you must first know recursion.
Offline
Is it okay now ![]()
Offline
w00t!!
My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....
Offline
You gotta love it when a great plan comes together.
High Fives all around. No. We are not doing the group hug thing!
Offline
group lending of hands then?
I am hilariously insane. yup. you won't notice though.. I promise...I think.
Offline
A four year necrobump and an empty post?
Please don't do that
https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed