[LEDE-DEV] persistent /var (or /data)?
Bastian Bittorf
bb at npl.de
Fri Sep 23 10:43:59 PDT 2016
* Daniel Golle <daniel at makrotopia.org> [23.09.2016 19:19]:
[...]
> On Android and other embedded systems, this whole issue is solved by
> having a designated volume mounted on /data, usually backed by a
> partition on an sdcard or the like.
>
> Similarly, on systems with block or large (SLC!) NAND storage we
> could introduce an additional partition/volume mounted on /data and
> just not have that directory on systems without any storage options.
[...]
in our systems we introduced 2 new global varnames:
$TMPDIR (like 'temp')
$PERMDIR (like 'permanent')
this makes it clearer in the code and we are "future-safe".
bye, bastian
More information about the Lede-dev
mailing list