Nfs server – Digi 9P 9360/9750 User Manual
Page 18

S y s t e m R e q u i r e m e n t s / P r e r e q u i s i t e s
1 8
L x N E T E S U s e r ’ s G u i d e
NFS server
Use the network file system (NFS) to simplify application debugging on the target. NFS
allows your target to mount its root file system with read/write permissions from the host
computer over Ethernet. NFS also allows you to access the file system from the target and
from the host computer the same time.
The NFS server configuration details are beyond the scope of this User's Manual and are
very specific to the various distributions. This manual only describes the modifications
necessary on hosts running a Debian distribution. Please refer to your Linux distribution
manual to setup a NFS server if you are using a different distribution.
When the NFS server package (Debian package nfs-kernel-server) is installed on Debian,
there is a file "/etc/exports" that contains information on exported directories and its
access rights. Add the following line to this file to provide read/write access for your
target:
BOOTDIR needs to be replaced with the path to the NFS root directory which is exported
to the target. The IP_ADDRESS needs to be replaced with the IP address of your target.
Please refer to the Linux man pages for detailed information about the /etc/exports file.
The build process copies the NFS root to /export/nfsroot-
the rootfs for cc9p9750, write the following to /etc/exports:
For simplicity’s sake you can export the whole /exports dir for a complete subnet, e.g.:
BOOTDIR IP_ADDRESS(rw,all_squash,async)
/exports/nfsroot-cc9p9750dev 192.168.42.10(rw,all_squash,async)
/exports 192.168.42.0/24(rw,all_squash,async)