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

Nathanael D. Noblet nathanael at gnat.ca
Fri Jun 1 21:48:15 UTC 2012


On 06/01/2012 03:23 PM, Garrett Holmstrom wrote:
> On Fri, Jun 1, 2012 at 1:44 PM, Gregory Maxwell<gmaxwell at gmail.com>  wrote:
>> On Fri, Jun 1, 2012 at 12:28 PM, Reindl Harald<h.reindl at thelounge.net>  wrote:
>>> * it is a valid workload that a application creates a 10 GB tempfile
>>> * ok, you say: use /var/tmp
>>> * well, i say: my whole rootfs is only 4 GB and 2 Gb are used
>>
>> If your rootfs wasn't big enough for your tmp workload you would have
>> had to have had a separate tmp partition. Either continue to use it—
>> or mount it as swap and set size= to allow you to use it in tmp.
>>
>> It works great.
>
> Part of this feature involves patching applications to write temporary
> files to /var/tmp instead of /tmp.  Reindl's point is that this change
> will cause temporary files that were previously written to the /tmp
> filesystem that he had explicitly prepared for this purpose to instead
> be written to /var/tmp and fill up his / filesystem.

Without getting into the specifics of whether the feature is useful or 
not... Part of it could be. If fstab contains a /tmp mountpoint re-write 
it to /var/tmp? I doubt that will make people stop talking about this 
feature but just a thought.

-- 
Nathanael d. Noblet
t 403.875.4613


More information about the devel mailing list