Mount the device's file system on the development machine

From GNU Radio
Revision as of 17:47, 18 March 2017 by Mbr0wn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mount the device's file system on the development machine

Assuming we've followed the machine-specific instructions for creating the rootfs and we can boot into the device, then after initial boot and configuration, we want to be able to SSH into the machine. Make sure that the SSHD daemon is available and running on the device. We then want to setup local mount point on the host to the devices / directory. If you don't like or can't use sshfs, there are other ways to handle this step (NFS, etc.). But you'll have to figure that out yourself.

Let's assume that we can address the device by a network name or IP address. Let's just call it "mydevice" and it has an ip address of 192.168.2.2. We will use a mount point created in your home directory. To mount mydevice locally:

$ cd
$ mkdir mydevice
$ sshfs -o allow_root root@192.168.2.2:/ mydevice

You should be able to ls mydevice and see the contents of mydevice's file system.