Hmmm, mount --bind
doesn't seem to work on Darwin.
Does anyone have a trick that does?
[edited]
OK, I found the answer on Mac OS X is to make a hardlink. Except that that API is not exposed via ln
, so you have to use your own tiny program to do this. Here is a link to that program:
Creating directory hard links in Mac OS X
Enjoy!