On Wed, 2019-10-16 at 17:35 +0000,   sixpack13 wrote:
> if you want to have an automatical cleanage for /var/tmp:
> =============================================
> 1. add the following line to your /etc/fstab
> 
> "tmpfs   /var/tmp   tmpfs    defaults,nosuid,nodev,noexec,mode=1777 
> 0 0"
> 
> - without the ' " ' ! -
> 
> 2. sudo rm -rf /var/tmp/*
> 
> 3. sudo mount /var/tmp
> 
> 3b. check with:
> df -h | grep var

I wouldn't do that.  At this time, /var/tmp is expected to be on
permanent storage, some things might expect data to remain available. 
Some things might generate more temp files than your RAM (especially if
you burn DVDs or Blurays).  If you need to use a temporary file to
debug a problem, you lose it during crashes.  Better to take a more
considered way to clean up *old* files.

When they made /tmp use tmpfs, that caused a plethora of such problems.

I don't seem to suffer the problems I see commonly mentioned on this
list (filling up hard drives, the wrong kernel booting, continually
having to manually reconfigure grub, etc), the kind of things that are
supposed to take care of themselves, automatically.  Probably because I
haven't painted myself into a corner by doing oddball things to my
system in the first place.

-- 
 
uname -rsvp
Linux 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to