Hello All,
I am trying to mount an UBIFS partition which read-write enabled. I am using the following commands for that.
$ cat /proc/mtd
$ ubiformat /dev/mtd11
$ ubiattach -m 11 /dev/ubi_ctrl
$ mkdir -p /mnt/NAND1
$ ubimkvol /dev/ubi2 -N NAND1 -s 30000000
$ mount -t ubifs ubi2:NAND1 /mnt/NAND1/
I am able to mount properly and read or write data in that partition. But when i hard power off/on i.e. reset the board, the Partition is gone.
I tried to create a symlink and see if it works but that didn't work as well.
What is the solution for this problem? please let me know.
The board is i.mx6 solo.
Regards,
Manju
Solved! Go to Solution.
You can add a startup script to mount this partition with (re)boot.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
You can add a startup script to mount this partition with (re)boot.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Victor,
Thanks i got the solution. The partition with filesystem was read-only. So i re built the filesystem wih the change and it works.
Regards,
Manju