| Rev | Author | # | Line |
|---|---|---|---|
| 1 | NeilHoughton | 1 | !Mounting NFS Shares under Mac OS X |
| 2 | |||
| 3 | StuartYeates | 3 | You can't really use /etc/fstab like a regular unix, everything in Mac OS X is done using the arguably wonderful NetInfo. To mount an [NFS] share in a certain place under [MacOSX], and make sure it turns up every boot, do the following: |
| 1 | NeilHoughton | 4 | |
| 5 | * Create a mount point (empty directory) on your Mac, say in /Network/''hostname''. | ||
| 6 | * Open the NetInfo Manager tool, which is in /Applications/Utils. Unlock it by clicking the lock icon and entering your password. | ||
| 7 | * Click on the <b>mounts</b> directory. | ||
| 8 | * __Create__ a new directory. | ||
| 9 | * Make the following properties (shift-cmd-N): | ||
| 10 | |||
| 4 | EricSan | 11 | <?plugin OldStyleTable |
| 1 | NeilHoughton | 12 | |< __property__ |< __value(s)__ |
| 13 | |< name |< ''hostname:directory'' | ||
| 14 | |< vfstype |< nfs | ||
| 15 | |< dir |< /Network/''hostname'' | ||
| 16 | |< opts |< -P -s -b | ||
| 4 | EricSan | 17 | ?> |
| 1 | NeilHoughton | 18 | |
| 19 | Save this, go into a terminal and type ''sudo mount -a'', and your share should appear in the directory you specified. | ||
| 20 | |||
| 21 | You might want to type ''man mount_nfs'' to learn more about the opts field. | ||
| 22 | |||
| 23 | !Exporting NFS Shares under Mac OS X | ||
| 24 | |||
| 25 | * Go into the NetInfo Manager, as above. Click on the exports dir. | ||
| 26 | * Create a new directory. | ||
| 27 | * Make the following properties (shift-cmd-N) to export with full permissions to your LAN for example. | ||
| 28 | |||
| 4 | EricSan | 29 | <?plugin OldStyleTable |
| 1 | NeilHoughton | 30 | |< __name__ |< __value(s)__ |
| 31 | |< name |< ''directory to export'' | ||
| 32 | |< clients |< ''client ips'' (leave blank if you want to limit to your entire LAN) | ||
| 33 | |< opts |< maproot=root networ=192.168.0.0 mask = 255.255.255.0 | ||
| 4 | EricSan | 34 | ?> |
| 1 | NeilHoughton | 35 | |
| 2 | AcMe | 36 | * Save, and reboot. Or kill and restart nfsd: <i>sudo kill -1 `cat /var/run/mountd.pid`</i> |
| 1 | NeilHoughton | 37 | |
| 38 | You might want to see ''man exports'' for more information on opts. |
lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()
lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument