|
From: | Justin P. Mattock |
Subject: | Re: using dd to prepare a file to be written to memory blocks(remove padding) |
Date: | Thu, 09 Aug 2012 06:30:10 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
On 08/09/2012 04:46 AM, Jann Horn wrote:
Uh, you basically want to restore a partition image into a bigger partition? In that case, just write the image to the partition and leave the rest as it is. In order to extend the filesystem to the whole partition, you need to alter fs metadata, so dd is the wrong tool for that - you might want to have a look at resize2fs or so. Sorry in case I got you totally wrong.
everybody thanks for the help and info with this..as for the issue I will try the suggestions above to see where it takes me. altering the fs metadata is what needs to happen because once the file is uploaded to the block of memory the target wont work unless the file is prepared properly(whitespace at the end of the file breaks the target when it reads that block of memory with the info).
cheers!
[Prev in Thread] | Current Thread | [Next in Thread] |