help-guix
[Top][All Lists]
Advanced

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

Re: Wiping /tmp?


From: Pierre Neidhardt
Subject: Re: Wiping /tmp?
Date: Sat, 20 Jul 2019 11:20:12 +0200

Maybe not exactly what you want, but you can mount /tmp as tmpfs in memory:

--8<---------------cut here---------------start------------->8---
(file-systems (cons* ...
                         (file-system
                           (mount-point "/tmp")
                           (device "none")
                           (type "tmpfs")
                           (check? #f))
                         %base-file-systems))
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]