I apologize if this sounds like a noob question, but I am kind of new to Unix/FreeBSD and trying to learn how to make great use out of my old PC.
Now I am having a Macbook and a FreeBSD 7.2 on my old PC box. I want to set up a NFS on the FreeBSD box, so I can have another storages for my files other than those big piles of external hard drive on my desk.
I followed the instruction of FreeBSD handbook, but am not quite understand how to format the exports(5) file. Here is how my /etc/exports look like:
the /exports is mountable on my Mac, but my mac does not have privilege in writing files on NFS.
Also, I tried to make all machines under 192.168.1.* to be able to mount the NFS as well. Is there a way to make all machines under my router to be able to mount the NFS without specifically specify their ip address in the /etc/exports ?
Now I am having a Macbook and a FreeBSD 7.2 on my old PC box. I want to set up a NFS on the FreeBSD box, so I can have another storages for my files other than those big piles of external hard drive on my desk.
I followed the instruction of FreeBSD handbook, but am not quite understand how to format the exports(5) file. Here is how my /etc/exports look like:
Code:
more /etc/exports
#The following examples export /usr to 3 machines named after ducks,
#/usr/src and /usr/obj read-only to machines named after trouble makers,
#/home and all directories under it to machines named after dead rock stars
#and, /a to a network of privileged machines allowed to write on it as root.
#/usr huey louie dewie
#/home -alldirs janice jimmy frank
#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0
#
# You should replace these lines with your actual exported filesystems.
# Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one.
/exports -alldirs -maproot=root 192.168.1.100
the /exports is mountable on my Mac, but my mac does not have privilege in writing files on NFS.
Also, I tried to make all machines under 192.168.1.* to be able to mount the NFS as well. Is there a way to make all machines under my router to be able to mount the NFS without specifically specify their ip address in the /etc/exports ?