DocuTech Family

Sharing Mac OS X files to a DocuSP Server

At the Macintosh workstation:

    1. Create the folder you wish to share.
    1. While holding down the key, tap the letter "I" to open the Get Info window.
    2. Copy down the information shown in the "Where" field, follow it with a forward slash (/) and then with the name of the folder you created. Use the same upper and lower case letters you see in the Get Info window. You'll need it when you link to these folders from the DocuSP server.
    3. Double-click on the icon that represents your Macintosh hard drive. This will open a window showing the hard drive's file structure.
    4. Navigate to the Applications folder, and, in that, to the Utilities folder.
    5. In the Utilities folder, double-click on Terminal to open a terminal window.
    6. With your pointer in the terminal window (using as an example a directory called "share" on the desktop of a Mac with a user name of "Production"), type sudo nicl . -create /exports/\\/Users\\/Production\\/Desktop\\/share <Enter>.

      This opens a temporary root user session which may require you to enter your password. It also places the share directory in the NFS table.
    7. In the terminal window, type sudo nicl . -append /exports/\\/Users\\/Production\\/Desktop\\/share clients "" <Enter>.

      This makes the shared folder visible to Everyone.
    8. In the terminal window, type sudo nicl . -append /exports/\\/Users\\/Production\\/Desktop\\/share opts ro <Enter>.

      This grants read-only rights to Everyone.
    9. In the terminal window, type cd / <Enter>.
    10. In the terminal window, type sudo /usr/sbin/mountd <Enter>.

      This starts the mount daemon.
    11. In the terminal window, type sudo /sbin/nfsd -t -u -n 6 <Enter>.

      This starts the nfs daemon.
    12. Test by typing showmount -e <Enter>. This should display the directories you've shared.

    At the DocuSP server

    1. Open a terminal window.
    2. Logon as root user.
    3. In the terminal window, type mount -F nfs #.#.#.#:/Users/Production/Desktop/share /mnt <Enter>.

      The #.#.#.# is the ip address (each # would be a number from 1-254, no leading zeroes) of the Macintosh server or client that is sharing its files.

      Don't forget the colon (:) between the ip address and the file hierarchy of the shared folder.
    4. Test the file sharing by typing cd /mnt <Enter> to change to the mount point you used for the Macintosh file system.
    5. Type ls <Enter> to view the files within the shared file structure.

      Note: This is a good test to see if you'll be able to see the files from your Mac server on your DocuSP or FreeFlow print server, but will not persist once your reboot unless you follow the steps below.

      Caution: As of the date that this file was written, within  the DocuSP Graphical User Interface, the Print From File button, the Browse to UNIX file system can take you to the mount point, but is unable to display the files in the shared directory. A remedy is planned for a System Problem Action Request (SPAR) to be applied to DocuSP software version 8.5. A tentative publication date in December, 2007 is anticipated.
    6. If it does work and you wish to make this a permanent mount point, perform the following tasks.
    7. Back up your FreeFlow/DocuSP's /etc/vfstab file
    8. Create a new mount point, keeping the default /mnt free for future uses.
    9. In order to create a mount point called rfiles, type: cd / <Enter>
    10. Type: mkdir rfiles <Enter>.
    11. Use a text editor to modify the /etc/vfstab file to add a new entry with the following values:
      device to mount: #.#.#.#: /sharedfolderpath/sharedfolder ( ip address colon slash slash directory path slash shared directory)
      device to fsck: - (actually enter a dash)
      mount point: /rfiles match the directory name you created in step 9 and 9a.
      FS type: nfs (use lower case letters)
      fsck pass: - (actually enter a dash)
      mount at boot: yes  
      mount options: bg,soft,rw (no spaces)
    12. Note: Avoid using spaces in file and folder names.


    Updated by Norman Teck
    October 2, 2009