The Network Filesystem allows very easy sharing of files between computers. If a computer has "exported" a filesystem to your system (or to everybody) using NFS, you can access the NFS filesystem by typing:
mkdir /mnt1 mount summer:/export_dir /mnt1
To make the summer:/export_dir directory automatically mounted onto the directory export5 when you reboot, you would need to to create the directory /export5 (e.g. mkdir /export5) and then modify your /etc/fstab file to look something like:
# device mountpoint fs-type options dump fsck-order summer:/export_dir /export5 nfs rw 0 0
You will then be able to configure the NFS services as shown below and described in more detail here.
To "export" the directory /export_dir (to make it available) to a machine named topline, you would create the file /etc/exports with this line:
/export topline(rw)
/etc/init.d/nfs start
/export topline(rw) bottomline(rw)
/usr/sbin/exportfs
exportfs -uav
/etc/init.d/nfs stop
Linux Quick Reference Home
Linux Migration Home