User Tools

Site Tools


mac-os-x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mac-os-x [2014/03/04 13:18]
127.0.0.1 external edit
mac-os-x [2016/05/05 13:07] (current)
Line 38: Line 38:
 http://​sourceforge.net/​projects/​ntfsfree/​files/?​source=navbar http://​sourceforge.net/​projects/​ntfsfree/​files/?​source=navbar
  
 +====== mount --bind ======
 +If you are the linux user, you should know the powerful mount --bind command, because you don't need to copy&​paste the files to the physical directory, but the behaviour should be the same with this command, you can dynamic share some files to the specific directory, and remove it after finish it.
 +
 +But on Mac OS X, the mount command doesn'​t support the option "​--bind",​ so after some google, I find there has one workaround for this, use the bindfs(http://​bindfs.org/​).
 +
 +So first download the source code from here:
 +
 +http://​bindfs.org/​downloads/​
 +
 +Compile and make install it.
 +  ./configure && make && sudo make install
 +Probably, you need install the osxfuse first: http://​sourceforge.net/​projects/​osxfuse/?​source=typ_redirect
 +
 +Then enjoy it
 +  bindfs all_pictures/​ /​Volumes/​Backup/​百度云同步盘/​all_pictures
 +Or you want to unbind it
 +   ​umount /​Volumes/​Backup/​百度云同步盘/​all_pictures
/var/www/dokuwiki/wiki/data/pages/mac-os-x.txt · Last modified: 2016/05/05 13:07 (external edit)