2009-03-12 02:11:46     How to know available memory in initramfs

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-12 02:11:46     How to know available memory in initramfs

Hari Prasad (INDIA)

Message: 70815   

 

Hi,

 

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.

 

 

QuoteReplyEditDelete

 

 

2009-03-12 02:20:02     Re: How to know available memory in initramfs

Mike Frysinger (UNITED STATES)

Message: 70817   

 

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.

QuoteReplyEditDelete

Attachments

    Outcomes