Hi,
I am using the OverlayFS-feature from Poky by enabling it as follows:
DISTRO_FEATURES:append = " overlayrootfs"
In the image this results in the following init-script:
/init.d/91-overlayroot
In this init-script the RW overlay is mounted as follows:
mount -t overlay overlay -o
lowerdir=${ROMOUNT},upperdir=${UPPER_DIR},workdir=${WORK_DIR} ${NEWROOT} |
| exit_gracefully "initramfs-overlayroot: Mounting overlay failed"
So far, so good. I have two questions:
* Where and when is the RW overlay unmounted, especially when the system
is shut down? I did not find any umount command corresponding to the
one above.
* I would like to enable quotas in the RW overlay. I tried appending
the corresponding mount options usrquota and grpquota to the above
command, but they did not have any effect, the quota tools keep
telling me that quotas are not enabled on that filesystem. This makes
me wonder whether quotas are supported by OverlayFS at all?
Thanks!
-Holger
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61045): https://lists.yoctoproject.org/g/yocto/message/61045
Mute This Topic: https://lists.yoctoproject.org/mt/101460703/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-