Writable Directory in the filesystem RR SDK

Writable Directory in the filesystem RR SDK

This question is answered

I've written an application and copied it into the filesystem but when I try to create or modify configuration files within my application directory I'm told :

mkdir: cannot create directory 'config': No space left on device

Can someone help me or point me to useful information for setting up a file or directory that is ReadWrite so that after I install my FS I can simply re-upload my file using scp modify configuration files and have them persist through a reboot.

As far as I can tell right now there are only a couple of rw areas but are all ram based:

/ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / jffs2 rw 0 0
proc /proc proc rw 0 0
none /sys sysfs rw 0 0
none /tmp tmpfs rw 0 0
none /var tmpfs rw 0 0
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                22016     22016         0 100% /
none                     57176         0     57176   0% /tmp
none                     57176        16     57160   0% /var
none                     57176         0     57176   0% /dev

I'm using RR SDK

 

Verified Answer
  • Hi,

    The file system does not have enough space. Can you:

    1. Run make config in the /DM355SDK840402$

    2. Go to Installer Configuration

    3. Check the Mininum file system partition size  

    If it is set to 160, you can increase its value to 400.

    Cristina Murillo

    Embedded Software Engineer, RidgeRun

All Replies
  • Hi,

    The file system does not have enough space. Can you:

    1. Run make config in the /DM355SDK840402$

    2. Go to Installer Configuration

    3. Check the Mininum file system partition size  

    If it is set to 160, you can increase its value to 400.

    Cristina Murillo

    Embedded Software Engineer, RidgeRun

  • Thank you very much.  This worked.  There was one minor hickup.  I expect

    make install

    To reinstall the filesystem but it didn't.  I had to go do a

    nand erase

    before it would.  Is there a way from make to force a reflashing of uboot, kernel or fs?

  • Hi,

    When you make changes in the file system, you need to generate the binary file again, so before make install, you should run make fs.

    There are also specific commands for the installation process like make installkernel, make installfs and make installbootloader.

    Cristina Murillo

    Embedded Software Engineer, RidgeRun