On Thu, May 31, 2012 at 11:45:36AM +0100, Pádraig Brady wrote:
> On 05/31/2012 08:14 AM, Roberto Ragusa wrote:
> > On 05/31/2012 02:40 AM, Lennart Poettering wrote:
> >> Heya!
> >>
> >> Please be aware that since the most recent systemd uploads /tmp is now
> >> in tmpfs by default in Rawhide/F18.
> > [...]
> >> This will most likely lead to a problem or two with software that isn't
> >> happy about /tmp being small.
> > 
> > For example "sort".
> 
> This is a good example because `sort` algorithmically needs
> something below RAM in the memory hierarchy (i.e. bigger),
> but with the same persistence characteristics of /tmp.
> 
> Currently `sort` defaults to $TMPDIR or if not set '/tmp'.

libguestfs has roughly the same problem as 'sort'.  It's unfortunate
the $TMPDIR doesn't communicate any information about the availability
of temporary directories of different types.

I sometimes thing that having optional $PERSISTENT_TMPDIR (a pointer
to a directory that persists for some time) and $ONDISK_TMPDIR (a
directory that is on a slower medium than RAM) would be useful.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to