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

Re: Idea: mount /tmp to tmpfs depending on free space and RAM

Petter Reinholdtsen <pere@hungry.com> writes:

> [Bjørn Mork]
>> I'd like to add another one:
>> - a tmpfs is always easy to grow without requiring any special
>>   preparations.  Just add more swap.  The swap could be on different
>>   disks, and could even be files hosted on other file systems.
> This sound very similar to what I am doing already with LVM and online
> file system growing.  A simple 'lvresize' and 'ext2resize' (or just
> debian-edu-fsautoresize for those of us with that tool available)
> later the full file systems have more free space again. :)
> Did I misunderstand you?

No, but those require LVM and available raw disk space.  Swap can always
be added without any such preparation.


Reply to: