Bug#544583: Need to control ramfs size
On Tue, Sep 1, 2009 at 2:24 PM, Daniel Baumann<email@example.com> wrote:
> Tong Sun wrote:
>> I've bumped into "out of disk space" problem when using Debian
>> Live. I am using the persistent root and a big swap partition,
>> but mount tmp on ramfs -- in fstab:
> i don't understand. if you use (root) persistency, you don't have a ram
> disk at all, but all writes are dumped to the persistency partition.
> so how/why does ramfs matter?
As shown in OP:
/dev/ram7 /var/tmp ramfs defaults,rw,auto,dev 0 0
/dev/ram /tmp ramfs defaults,rw,auto,dev 0 0
I.e., I don't want all writes dumped to the persistency partition, so
I excluded /tmp & /var/tmp by using ramfs.
I hope that live-initramfs can have a boot parameter to control how
big the /dev/ram device is.