OS X mount local directory

user79854 picture user79854 · Jul 4, 2009 · Viewed 27.4k times · Source

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?

Answer

Stobor picture Stobor · Jul 4, 2009

bindfs seems like what you're after...