OS X mount local directory

macos, mount, unix

Solution

bindfs seems like what you're after...

Problem

Is it possible to mount a local directory into another one? Using Perforce, I want to do something equivalent to symlinking a directory, but in a way that fools it into thinking it's really just another directory in the project. I would like to do something like: ``` mount /foo/bar /home/foo/bar ``` Is this possible, and if so what options do I need to give it?

Original source