[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#465122: dd uses a lot of memory



I thought that maybe the initramfs flashing code could be modified to
use less memory, more easily than the kernel code. Since it uses 2
or 3 times as much memory.

-	dd if=$ifile of=$tmp ibs=$(($imtdsize - 16)) conv=sync
+	dd if=$ifile of=$tmp ibs=$(($imtdsize - 16)/8) conv=sync count=8

But, that won't work, the ibs needs to be the full size of the partition
so that conv=sync will cause dd to pad fron the end of the file with
nulls to fill up the partition.

I don't see a good way to do it, unless something other than dd is used.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: