R o o t F i l e S y s t e m T y p e s
Root File System Types
C H A P T E R | 8 |
The following describes the different possibilities which can be used as root file system. The type of rootfs must be passed as an argument to kernel by means of the bootargs environment variable of
NFSROOT
The rootfs may be in a different computer on the network and not within the target. This can be useful if, for example, a RAM disk is too small to include all the necessary files, or allow rapid turnaround during testing and development.
An NFS root allows quick kernel downloads, helps ensure file system integrity (since the server is basically impervious to crashes by the client), and provides virtually infinite storage.
During development it feel free to use an NFS directory as root file system. This avoids unnecessary flash erases, which on a power failure will result in the need to
The root file system can be installed to "/exports/BOOTDIR" issuing this command in the project directory
$ make
To test the new image run the following command at the
5 5