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

Re: Debian 13, tmpfs and /tmp, /var/tmp





On Tue, Aug 19, 2025 at 10:43 AM Nicolas George <george@nsup.org> wrote:
fred.kite.dml@mailo.com (HE12025-08-19):
> Isn't /var/tmp supposed to be as well now?

No, the contents of /var/tmp is supposed to survive a reboot.

++. The citation is Filesystem Hierarchy Standard, Section 5.15. /var/tmp : Temporary files preserved between system reboots, <https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s15.html>:

    The /var/tmp directory is made available for programs that require
    temporary files or directories that are preserved between system
    reboots. Therefore, data stored in /var/tmp is more persistent than
    data in /tmp.
    
    Files and directories located in /var/tmp must not be deleted when the
    system is booted. Although data stored in /var/tmp is typically deleted
    in a site-specific manner, it is recommended that deletions occur at a
    less frequent interval than /tmp.

Jeff

Reply to: