• dan@upvote.au
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    55 minutes ago

    /var holds log files

    Not just log files, but any variable/dynamic data used by packages installed on the system: caches, databases (like /var/lib/mysql for MySQL), Docker volumes, etc.

    Traditionally, /var and /home are parts of a Linux server that use the most disk space, which is why they used to almost always be separate partitions.

    Also /tmp is often a RAM disk (tmpfs mount) these days.