RootFS is read only

  • BTW, you can also run:


    Code
    1. mount -o remount,rw /

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • The basic idea behind a read-only root filesystem is that you more or less can only switch off the power of the device without having to shutdown first. If you just want to change some configuration, simply call


    Code
    1. mount -o remount,rw /
    2. <Do your configuration>
    3. mount -o remount,ro /


    Then the filesystem remains clean all the time. If you want to write some temporary data, use the /tmp directory which is mounted as a writable RAM disk.


    By the way there is also a setting in BuildRoot where you can configure /etc/inittab to mount the root filesystem read-write. Call "make menuconfig" and go to "System configuration". There check "remount root filesystem read-write during boot". This will remove the comment-hashmark in /etc/inittab in front of the line with the remount command.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.