> I am "debugging" a wireless AP router based on Bering 1.2 and
> since there is
> a lot of logging going on, the /var/log runs our of space very fast.
> # df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/root               131072     10040    121032   8% /
> tmpfs                   124576        12    124564   0% /tmp
> tmpfs                     2048      2048         0 100% /var/log

> 1) How to increase the /var/log size

I have a modified linuxrc that allows logging to go to my DoM so I do not
lose them with a reboot. I think I even have published it somewhere.

> 2)Can someone calculate what is the *minimum* ram footprint
> required for the
> following configuration ?
> Both for initrd and for kernel/program space.

<configuration snipped>

In my scripts, I automatically calc the initrd size as twice the tarfile
size with all the contents, so it is large enough. You just have to make
sure everything fits. The size of the initrd doesn't really matter as long
as you have space on your package disk

For the main ramdisk, I would load all packets and do a df to see how much
it needs. In your case, this seems to be 10M, so I would allocate about 16M
for the ramdisk. All the rest is kernel/program space.

- Alex



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to