Cleaning a filesystem for compression
I have a CF card with two partitions - one ext2 and the other ext3. I want to create an image for the card but since it's about 1Gb in size, the image requires compressing before it can be ftp'd. Is there a way to zero out any unused areas in the FS in order to optimise the compression? Many thanks, Stuart. -- --------------------------------------- Stuart Bailey BSc (hons) CEng CITP MBCS LinuSoft (Proprietor) Linux Specialist (01953) 601294 (07778) 383739 http://www.linusoft.co.uk ---------------------------------------- ********************************************************************** This email and any files transmitted with it are confidential. If you are not the intended recipient, please email postmaster@linusoft.co.uk immediately. You should not copy or use this email or attachments for any purpose nor disclose their contents to any other person. NO BINDING CONTRACT WILL RESULT FROM THIS E-MAIL UNTIL SUCH TIME AS A WRITTEN DOCUMENT IS SIGNED ON BEHALF OF LinuSoft. LinuSoft cannot accept any responsibility for the completeness or accuracy of this message as it has been transmitted over public networks. *************************************************************************
Hi and Hi to everyone as this is the first time I've posted here, I moved to Norfolk from London a year ago and am here to stay, I will try to make one of your second Tuesday meetings in Norwich sometime. When it comes to imaging a disk I have used g4u, info here: http://www.feyrer.de/g4u/ and specific info on reducing the image size (part of his faq) can be found here: http://www.feyrer.de/g4u/#shrinkimg Regards, Nick Atkins Stuart Bailey wrote:
I have a CF card with two partitions - one ext2 and the other ext3. I want to create an image for the card but since it's about 1Gb in size, the image requires compressing before it can be ftp'd.
Is there a way to zero out any unused areas in the FS in order to optimise the compression?
Many thanks,
Stuart.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nick Atkins <nicka@northtrack.net> wrote:
Hi and Hi to everyone as this is the first time I've posted here, I moved to Norfolk from London a year ago and am here to stay, I will try to make one of your second Tuesday meetings in Norwich sometime.
Welcome to the list! I *think* you mean Second Thursday, not Tuesday ;) Hopefully I won't bleed over the place at the next one (full details to be disclosed at some later date ;) Thanks, - -- Brett Parker web: http://www.sommitrealweird.co.uk/ email: iDunno@sommitrealweird.co.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCijFQEh8oWxevnjQRAhwYAJ95MLvt37NJzViDiLS70yOGvBDx2ACgq01h QmvT82pnS/F/xVNhIgd/fSo= =xZ/O -----END PGP SIGNATURE-----
On 5/17/05, Stuart Bailey <stuart@linusoft.co.uk> wrote:
I have a CF card with two partitions - one ext2 and the other ext3. I want to create an image for the card but since it's about 1Gb in size, the image requires compressing before it can be ftp'd. Is there a way to zero out any unused areas in the FS in order to optimise the compression?
Are you sure you want to keep the ext2 and ext3 formats?,A .tar.gz of the files would be simpler. Tim.
participants (4)
-
Brett Parker -
Nick Atkins -
Stuart Bailey -
Tim Green