-
Notifications
You must be signed in to change notification settings - Fork 6
Make persistent changes to filesystem
Davide Depau edited this page Apr 29, 2018
·
2 revisions
mkdir /tmp/ubifs
/statusapi/bin/mount -o remount,rw /
/statusapi/bin/mount -t ubifs ubi0:rootfs_ubifs /tmp/ubifs
The complicated mount is required because a tmpfs
is mounted on top of /etc and changes are discarded on reboot.
The root filesystem is now available at /tmp/ubifs
. Note that for locations like /etc
on top which an overlay filesystem is mounted you may need to reboot for changes to be visible.
/statusapi/bin/umount /tmp/ubifs
/statusapi/bin/mount -o remount,ro /
reboot # optional, see above