Re: /var tmpfs ?

Matus UHLAR - fantomas <[email protected]> Mon, 22 Oct 2018 14:56:35 +0200
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
On 22.10.18 10:02, Michael wrote:
>Recently made a lot of stuff tmpfs (like /tmp and /var/cache and $HOME/.cache) and i'm not sure about this ...:
>
>Is there any reason why /var cannot be completely tmpfs ?

/var contains huge amount of data that keep changing but must not be lost.

>  That is, when
> mounting /var/cache/apt as seperate harddisk partition, later on - i'd
> like to keep the d/l packages for some time.

you can store packages in /tmp by putting this to apt.conf:

Dir::Cache::archives "/tmp";