I am running Linux 2.4.x on my embedded ARM board. Right now my ramdisk is over 5M and I like to reduce the size of the ramdisk by removing some junk, and moving the rest of the stuff into my JFFS2 partition.
How do I remove some of the stuff in the ramdisk via the config? Which config file do I modify?
How do I move the stuff I want to keep into the JFFS2 paritition? Do I just copy the stuff I want from ramdisk into the partition?
Can I build the image and run without any ramdisk?
What command can I issue to find out what size each binary is taking up in the ramdisk?
My ramdisk is mounted on '/' and the contents of the ramdisk is:
# ls bin etc lib mnt sbin usr dev home lost+found proc tmp var
/dev/ram0 on / type ext2 (rw)
/proc on /proc type proc (rw)
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 8059 5167 2483 68% /#