• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. File and Resource Sharing wi... > Using the NetInfo Database to Share ...

Using the NetInfo Database to Share Resources

In this section we will demonstrate ways that your OS X machine can share resources with other Unix machines using NFS, Network File System. We will demonstrate two ways to set up your OS X machine as an NFS client and one way to use it as an NFS server.

A Common Way to Set Up an NFS Client in OS X

In this section, we will demonstrate a common method for setting up an NFS client on an OS X machine. We show you this method because you will see references to this type of code, for this and other NetInfo-related activities, regularly on the Internet. Sometimes this type of method is the only method you can choose, so you need to be familiar with it. Sometimes, though, an alternative method might work better. For your OS X machine to be a client machine, there has to be another Unix machine that is an NFS server. In other words, there has to be a Unix machine (Mac OS X or another flavor of Unix) on your network that is willing to export one of its file systems to your OS X machine. So, you cannot just set up your machine as a client and assume that everything will work fine. Discuss your interest in being able to use your OS X machine to access a file system on another Unix machine with that machine's system administrator. There is a security risk involved, particularly for the other machine, when it shares its resources with your machine. Therefore, in that machine's interest, the system administrator might not be willing to export its file systems to your machine.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint