Re: Tmpfs instead of ramfs
- tmpfs does require "virtual memory file system support" - I don't
know if that means it requires virtual memory per se, which would be
problem on the nslu2 since there is no mmu onboard.
Either way, you would need to edit the command line to the kernel,
and if I can find that in the flash image, then I could change it
from 1000000 to 0800000 and that will drop the file system size to
8MB. I need to run df -k to see how much of the 16MB is actually in
use; I suspect very little, which means they made a poor choice
allocating 16MB to the ramfs, esp as the linux default size is
actually 4MB anyway.
--- In email@example.com, "www.sveasoft.com"
> I think the answer might be to use tmpfs instead of ramfs. Thereare several advantages, one of which is that is sizes dynamically
depending on the contents.
>good write up.
> See http://www-106.ibm.com/developerworks/library/l-fs3.html for a
> ----- Original Message -----
> From: joule360
> To: firstname.lastname@example.org
> Sent: Wednesday, August 11, 2004 6:21 PM
> Subject: [nslu2-linux] Re: Telnet on startup
> However, I'm wondering if there will prove to be an easy way to
> reduce the ramdisk size - perhaps to 4 or 8 mb, thus freeing up
> memory for running apps and decreasing the amount of maintenanceand
> modificaitons required to use the pivot_root mechanism.