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

Bug#219528: Random root tmpfs filesystem size.

Package: rootskel
Version: 0.48
Severity: minor
Tags: patch

When d-i boots, the /sbin/init shellscript present in rootskel mounts
the future tmpfs root filesystem with the following command :

	mount -t shm shm mnt

Reading the kernel docs, it seems that the new name for shm is tmpfs (i
may be wrong). Furthermore, the default size limit for the filesystem
is 1/2 of the phisical memory available, which is a bit random for d-i.
(and wasn't enough for me, i got the root fs full while downloading
additional udebs.)

I think the limit should be set manually (as documented in
/usr/src/linux/Documentation/filesystems/tmpfs.txt), with something like :

	mount -t tmpfs -o size=100M tmpfs mnt

It worked for me (using the netboot image -- i still got out of RAM, and
the menu was killed by the kernel, but I got a bit further ;)

Hope this helps,

Jeremie Koenig <sprite@sprite.fr.eu.org>

Reply to: