Nandana writes:
> Hi,
> I am trying to create a ramdisk using following commands.
> 
> dd if=/dev/zero of=initrd.img  bs=1k  count=<6144>
> mke2fs -i 1024 -b 1024 -m 5 -F -v initrd.img
> 
> But the problem is the device size get created is always  around  1Mb less than the
> requested size. (if I  dd with count = 6144,  the size of the device is 5.2 Mb ).
> But I notice that your ramdisk has 5.8Mb for the same size image.
> Could you please tell what are the parameters you use.

Have you tried increasing the block size?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to