Quote:
Originally Posted by coplate
That's an existing ext3 filesystem, based on the twobos posts, i'm assuming some kind of debian on it, but I cant find anything.
All the dd does it expand it from 500MB to 2G
|
If all you want is bigger, then seek to the last block and write one block of zeros there.
Leave the area from existing end to new end as a sparse file.
Then resize the file system.
ext2/3/4 will create actual blocks in the sparse area as required without any penalties.
Sparse files compress much better that one filled with zeros.
At least if your on a file system that supports sparse files and your compression program can effectively detect them.
But your example (and twobob's) is a nice example of rearranging the deck chairs.
It gives the developer something harmless to do for which they can bill the time.