Project

General

Profile

Mounting the backing_file

Added by Paul Easton almost 10 years ago

Ok so the enable-usb script works and my PC sees the storage made available by the dev kit but what is the mount command to get the backing_file available on the arm processor?

The docs state
------------------------------

On your MitySOM mount the backing file to a mount point
You can now access any files that are placed in the backing directory
-------------------------------

When I issue the command
"mount /home/root/scripts/backing_file /home/root/scripts/tmp"
I get the following error
"mount: /home/root/scripts/backing_file: failed to setup loop device: no such file of directory".

I've created the mount directory /home/root/scripts/tmp.
Is loopback file system support built into the kernel or am I missing a module?


Replies (1)

RE: Mounting the backing_file - Added by Daniel Vincelette almost 10 years ago

Hi Paul,

loopback devices are not built into the provided kernel. You will need to either build it in or add it as a module to your kernel.

Once loopback support is added to your kernel, you should be able mount it with following:

losetup /dev/loop0 backing_file
mount /dev/loop0 /mnt

Dan

    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)