<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have a script that allows me to <code>mount</code> a folder to <code>tmpfs</code>,
while bind-mounting the same folder to another location, so I can
sync the contents (on startup, shutdown, and when needed) between
the <code>tmpfs</code> and the original folder on system drive.<br>
<br>
I use it for folders that see many writes, but whose data should be
preserved after a reboot.<br>
<br>
Mostly to use a USB flash drive or SD card as system drive, while
running programs that aggressively write round-robin databases or
similar small-size-high-write files.<br>
<br>
<br>
Sooo..... I was wondering if systemd allows me to do something like
that natively.<br>
<br>
I did look at the tmpfs modules of systemd, but from what I
understood it does deal with making non-persistent tmpfs on the fly,
clean temporary files from a folder and so on.<br>
<br>
Is there a persistency option I did miss perhaps?<br>
<br>
<br>
-Albert<br>
<br>
<br>
</body>
</html>