[systemd-devel] systemd read-only RootFS for flash-menory usage ?

lux-integ lux-integ at btconnect.com
Sat Jul 19 08:04:39 PDT 2014


Greetings,

I have a computer with  these
--OS Linux 64bit BLFS  Linux
--relatively recent version of systemd
--no hard disk  but instead   compact flash disk


I am running vanilla systemd ( i.e.  as compiled from source code   and 
without any   change in scripts ) successfully.

I want to protect the flash card by minimisng the amount of writes and  erases 
so I want to create  a /var partition in RAM for logfiles and mount   
/var on booting  as R/W and the rest as readonly.  I have a number of 
questions:-


--Can systemd be run from a read-only root filesystem ?
--If the   suggestion above  (/var in RAM   and   rest  of FS is RO) is not 
feasible  is there an alternative/better solution?

Thanks in advance

sincerely
lux-integ


More information about the systemd-devel mailing list