You can use overlayfs for this. You mount the overlayfs on top of your rootfs 
and then it appear like you have a writeable file system.
In reality all the new  stuff is written to another (writeable) file system.
If you dismount the overlayfs, the rootfs reverts back to its original state.
If you again  mount the overlayfs, you get your modifications back.

Best Regards,
Ulf Samuelsson
+46 722 427 437

> 13 feb. 2019 kl. 08:21 skrev Bhupendra Singh 
> <bhupendra.si...@ppsinternational.in>:
> 
> Hello
> I have built core-image-minimal  with read only rootfs  then now  I want to 
> make one directory (like /mnt) writable.
> Is it possible to make one directory writeable in read only rootfs if yes 
> ,please tell me how can I do same.   
>  
> Bhupendra Singh
>  
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to