echo "/home/me/my_remote_folder *(rw,sync,no_root_squash)" > /etc/exportsWe should then restart our NFS server with the new configuration file using:
/etc/init.d/nfs restart
or
- /usr/sbin/exportfs -av
- /sbin/service nfs restart
On an embedded system with NFS enabled, the following command mounts the my_remote_folder directory exported by the NFS server on a mount point of our choosing:
mount -t nfs mycomputer:/home/me/my_remote_folder /mnt/nfsWhere mycomputer is the name of your computer on the network or his IP address.
No comments:
Post a Comment