LWN.net Logo

Keep my data in my $HOME

Keep my data in my $HOME

Posted Jan 12, 2009 7:48 UTC (Mon) by rvfh (subscriber, #31018)
In reply to: Saving your $HOME space by eru
Parent article: BleachBit: Does GNU/Linux need the equivalent of a Windows registry cleaner?

What's the big difference between using /var/.../%USER and /tmp or /var/tmp ?

I'd rather all user data were stored in their home, which may be encrypted rather than on some random part of the file system like /var/mail or /tmp...

I wish all files belonging to me (and therefore potentially personal and confidential) were in my $HOME where they belong.

So yes, $HOME/.tmp is a possibility , or just $HOME/.$appname/... back to square one.

At the end of the day, we have to rely on the app not making stupid use of our space, and can't do much about it appart from complaining and patching. It's Free Software after all!


(Log in to post comments)

Keep my data in my $HOME

Posted Jan 12, 2009 8:37 UTC (Mon) by nix (subscriber, #2304) [Link]

On my systems, /home is a) NFS-mounted, b) a RAID array, c) shared across
hosts. These are all undesirable things for /tmp, but desirable for home
directories.

/tmp should not be under /home.

Keep my data in my $HOME

Posted Jan 14, 2009 15:25 UTC (Wed) by nlucas (subscriber, #33793) [Link]

Note that "/tmp" and "/var/tmp" have different functions.

"/tmp" is for temporary files that can be completely cleaned up on system reboot (and many distros have init scripts that do exactly this).

"/var/tmp" is for temporary files that are to be preserved between reboots.

Google for FHS for more information.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds