2009-03-12 02:11:46 How to know available memory in initramfs
Hari Prasad (INDIA)
I want to write a file to the file system and before starting it, I want to know how much memory is available in my initramfs. The memory allocated to initramfs (the macro value BLOCKS in vendors/AnalogDevices/BF533-EZKIT/Makefile) is 14336 BLOCKS
Kindly let me know if there is any method to get this info.
2009-03-12 02:20:02 Re: How to know available memory in initramfs
Mike Frysinger (UNITED STATES)
the BLOCKS variable is only for ext2/uClinux-mtd rootfs. it has no bearing on any other setup.
the point of initramfs is that it is dynamic. it grows and shrinks according to whatever is stored in it.