[yocto] Make one directory writeable
Ulf Samuelsson
yocto at emagii.com
Wed Feb 13 00:22:19 PST 2019
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.singh at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190213/16643c8b/attachment-0001.html>
More information about the yocto
mailing list