[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var tmpfs ?

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";

Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol.
Reply to: