LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   nfs file share on local host (http://www.linuxquestions.org/questions/linux-networking-3/nfs-file-share-on-local-host-677396/)

Tom Douglas 10-18-2008 12:58 PM

nfs file share on local host
 
I have set up the following share within the host. It works, but is this proper? Or a better way?

Code:

[root@road-runner home]# mount -t nfs road-runner:/mnt/hd1/road-runner /home/backup
[root@road-runner home]#

I'm running Fedora 8.

Thanks!

Tom D.

Mr. C. 10-19-2008 02:44 AM

There is no reason to use NFS to mount a local file system. Just create a symbolic link:

umount /home/backup
rmdir /home/backup
ln -s /mnt/hd1/road-runner /home/backup


All times are GMT -5. The time now is 05:24 AM.