Re: pacman/libalpm/libfetch do not honor TMPDIR

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



On 28 November 2011 18:04, David Rosenstrauch <darose@xxxxxxxxxx> wrote:

> On 11/25/2011 11:55 AM, Leonid Isaev wrote:
>
>> Actually, what is stupid is keeping /tmp in RAM. It is an important dir,
>> where
>> you might have an valuable info in case of a system crash. I could never
>> understand the logic behind this choice.
>>
>
> Actually, I think it makes a lot of sense.  It lets you truly use it as a
> repository for "temporary" files.  Any files written there will get
> automatically wiped out at the next boot.
>
> I do this routinely on all my boxes.  In addition, any files that I
> download I put in /tmp.  If it turns out to be important, I copy it
> elsewhere.  Else, it's automatically gone at the next reboot.
>
> Contrast that with my Windows machine, where I have a "temp" folder on
> disk that I use for the same purpose.  I have to always remember to go back
> and delete files from there when I'm finished with them.
>
> DR
>


I concur 100%!

Leonid is obviously using the TMP folder for the wrong purpose. It is
called that for a reason Silly Goose!

If I recall correctly, the rc.sysinit script even deletes the files on the
next boot in /tmp/. Frankly for a temporary directory it's faster and saves
your hard drive writes.

Calvin Morrison


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux