Persist mount from initramfs with systemd.volatile boot

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

 



I have an use case that requires persisting a mount (/sysroot/mnt) from initramfs. The system is booted with systemd.volatile, so only /usr of /sysroot is used, rest is tmpfs.

Ideally I should add the mount unit in the /usr itself but /usr is a read only signed fs that I can't modify for reasons. I can arbitrarily change initramfs though. As it is an ephemerous system, there isn't any other place.


Is it somehow possible? I couldn't think of a way surviving the pivot_root for volatile.


serene

Attachment: OpenPGP_0x20257A7131FFF28B.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


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

  Powered by Linux