Direct-opening a temporary file using the user's preferred application

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Apr 10 11:15:26 PDT 2013


Le Mer 3 avril 2013 19:14, Thomas Kluyver a écrit :
> On 3 April 2013 15:42, Rémi Denis-Courmont <remi at remlab.net> wrote:
>
>> You definitely should not save it in /tmp as it might be mounted as
>> tmpfs.
>>
>
> I'm curious as to why this is such a bad idea - I'm used to browsers and
> e-mail clients putting things in /tmp if I select 'Open' rather than
> 'Save'.

When tmpfs is a ramdisk it is fast *but* limited to ram+swap size. So on
current systems it is quite easy to saturate it with a few files in the
hundred megs/gigabyte size.

-- 
Nicolas Mailhot



More information about the xdg mailing list