Re: Moving /tmp to tmpfs makes it useless
Vincent Lefevre <firstname.lastname@example.org> writes:
> On 2012-05-30 12:08:29 +0200, Josselin Mouette wrote:
>> Le samedi 26 mai 2012 à 23:02 +0200, Carlos Alberto Lopez Perez a
>> écrit :
>> > With "tmpfs on /tmp" you are breaking many applications that assume that
>> > they have enough space to write on /tmp like the flash player ( see
>> > Debian bug #666096 ) or cdrecord software ( see #665634 ).
>> Seriously, this is madness. You can’t expect to have “enough” space on
>> *any* filesystem.
> I think that the point is that in general, there is more space on
> the local disk than on some tmpfs. What I mean is that if /tmp is
> on the right partition on the disk, it will have more space than
> any reasonable tmpfs.
Does that make any difference at all? If an application is unable to
handle the out-of-space condition, then it will be unable to handle the
out-of-space condition no matter how big the file system is. Increasing
the file system size is futile. Fix the bug in the application instead.