Re: Ask some questions about overlay+/dev/mtdblock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 02.03.20 16:21, www (ouyangxuan10@xxxxxxx) wrote:

> Dear all,
>
>
> Systemd is used in the embedded system. and some mounting information is as follows:
>
>
> dev on /dev type devtmpfs (rw,relatime,size=221372k,nr_inodes=55343,mode=755)
> sys on /sys type sysfs (rw,relatime)
> proc on /proc type proc (rw,relatime)
> tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
> /dev/mtdblock4 on /run/initramfs/ro type squashfs (ro,relatime)
> /dev/mtdblock5 on /run/initramfs/rw type jffs2 (rw,relatime)
> cow on / type overlay (rw,relatime,lowerdir=run/initramfs/ro,upperdir=run/initramfs/rw/cow,workdir=run/initramfs/rw/work)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
>
>
> I have a question, why can overlayfs directly save the information in block4 and block5 (such as the running information of SYSTEMd) after I uninstall block4 and block5 with umount command?
> Who knows why, or gives some advice?

It's a feature of overlayfs that it keeps its own references to the
underlying file systems, and they can be unmounted while the overlayfs
itself stays accessible.

if you don't want that, unmount the overlayfs too?

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux