coreutils
[Top][All Lists]
Advanced

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

Re: [HEADS-UP] Rawhide: /tmp is now on tmpfs


From: Pádraig Brady
Subject: Re: [HEADS-UP] Rawhide: /tmp is now on tmpfs
Date: Fri, 01 Jun 2012 14:20:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 06/01/2012 02:13 PM, Jim Meyering wrote:
> Pádraig Brady wrote:
>> It seems like we should default to /var/tmp in sort(1) and tac(1),
>> as debian and fedora at least are probably moving to tmpfs for /tmp.
>> I'll monitor the situation a bit before making the change.
> 
> Thanks.
> 
> Just to be clear, sort would continue to honor $TMPDIR, and
> your suggested change would affect only those rare uses of sort
> for which $TMPDIR is not already set?

TMPDIR is not normally set in my experience.
It can be set to override the default.

If it was normally set to point to tmpfs,
then we couldn't really use it, but I
don't think this is the case.

> i.e., in sort.c,
> 
>   -# define DEFAULT_TMPDIR "/tmp"
>   +# define DEFAULT_TMPDIR "/var/tmp"

Right.

cheers,
Pádraig.



reply via email to

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