NDVR2200F
Installation Guide & User’s
1/8/2008
23/66
5.5. Building NFS File System Environment
5.5.1. The necessary of NFS building
Using the boot loader only will make development of Linux applications or device drivers on a
development board a daunting task. It is simply because a compiled execution file should be
turned into a ramdisk image and downloaded at the boot loader.
Mount what is done on the development host to Linux of the development board using NFS
system in order to perform this work efficiently.
Using NFS allows the file on the development board to be accessed and the file can be
operated in the development host. NFS allows even a very large file, which cannot be mounted
on a ramdisk, to be used as it depends on host memory.
5.5.2. NFS
NFS, Network File System, allows the user to use a file on a remote host like a local file through
RPC. This is supported by combining the kernel function of the client, which uses a remote host
file system, and the NFS server of the server that provides data. Access to files through NFS
works in various servers and host architectures.
- Benefits of NFS
It supports to use the content, which are developed in a development host, immediately in a
development board.
Developers can simultaneously share the contents, which are developed on a PC.
It supports to run a developed application irrespective of its size.
5.5.3. Setting Host NFS Environment
- Editing file
Make the directory /nfs (for example) in order to share it through NFS and edit authentication.
Edit the NFS configuration file, /etc/exports.
# cd /
# mkdir /nfs
# chmod 777 nfs
# chown nobody.nobody nfs