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

Umut Tezduyar umut at tezduyar.com
Sun Jul 20 08:35:42 PDT 2014


Hi,

Short answer is YES to your first question. For long answer, http://0pointer.de/blog/projects/stateless.html.

Umut

> On Jul 19, 2014, at 5:04 PM, "lux-integ" <lux-integ at btconnect.com> wrote:
> 
> 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
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list