Search code examples
macosunixmount

OS X mount local directory


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?


Solution

  • bindfs seems like what you're after...