-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Embedded Linux Development
By :

If your device has a network interface, you can mount the root filesystem over the network for rapid development using Network File System (NFS). This gives you access to almost unlimited storage on your host machine, so you can add debug tools and executables with large symbol tables. As a bonus, updates made to the root filesystem on your development machine are available on the target instantly. You can also access all the target’s log files from the host.
To start, you need to install and configure an NFS server on your host machine. The package to install on Ubuntu is named nfs-kernel-server
:
$ sudo apt install nfs-kernel-server
The NFS server needs to be told which directories are being exported to the network. This is controlled by /etc/exports
. There is one line for each export. The format is described in the exports(5)
manual page. To export the root filesystem, the exports
file on my host contains this:
/home...