Drive images – filling free space with zeros



So, one of the things I’ve been doing is drive imaging. I’ve got 3 systems that are to be identical (based on, of all things Freedos…) So, I thought it was a perfect opportunity to dust off cloning/imaging software. So, I’ve been using the excellent g4l (ghost4linux) which is now up to v 0.22 (I make use of this for trying to rescue failing hard drives too as it includes dd_rescue). Anyway, the new machines have 80GB drives and the lzo compressed images are running ~450MB…. but one of my questions was making sure that it was as small an image as could be. I found that there are a few ways to squish the image file more and that it mostly revolves around filling the empty drive space with zeros.


Here’s a mirror of ftp://fedoragcc.dyndns.org which has a number of tools, including blank6.exe for dos (which creates empty 2gb files until the disk is full, then deletes them.) There’s also cleandrive which does the same thing for a dos/linux system (basically dd with /dev/zero as the input file and /dummyfile as the destination, it fills, runs out of disk space and then it deletes /dummyfile. Really simple concept but it could squeeze out some space.

On a fresh install to a brand new hard drive it was more trouble than it was worth, but I can see how a “lived in” install would certainly benefit. (I should mention that this would be a decent way to make it harder to recover deleted files – certainly not as secure as filling the space with a random hash, and rehashing, but… don’t do this if you’ve just deleted a file and hope to recover easily.)

Related Posts

Blog Traffic Exchange Related Posts
  • Live filesystem "capture" into a virtual disk image ah... the joys of *nix utilities.... I've just successfully tested a "capture" of a live, running system into a virtual disk image. No, I don't mean that I booted up with an imaging utility. I took a live, booted and logged in system and imaged the primary hard drive that......
  • Zero-day ( 0-day) Microsoft Word exploit There was some news on this last night at Incidents.org, today F-secure has some details as well on the trojan that's dropped in this circulating, exploit. It seems as though the initial attack was very targetted against a specific organization. Antivirus packages did not recognize the trojan that the exploit......
  • Clonezilla For quite a while I've used ghost4linux (g4l) for my disc cloning needs. What I REALLY like are the ability to do a network copy of the image to an ftp server and the built in dd_rescue to rescue data from a failing hard drive. Unfrotunately g4l does a bit......
Blog Traffic Exchange Related Websites
  • All About Blogging with Wordpress http://wordpress.com/ http://wordpress.org Getting WordPress There are two ways to have your own Wordpress blog. You can host your blog for free using the wordpress free hosting solution, the link visit if you would like to start a free blog with easy free hosting: http://wordpress.com The other way is host a......
  • Canon 60D officially announced It's officially announced! The successor to the successful EOS 50D, the EOS 60D, will hit the stores this September. Canon EOS 60D The EOS 60D will have a three-inch Vari-Angle Clear View LCD screen, EOS Full HD video recording with manual overrides including audio level control, and in-camera functionality for......
  • About MP3 And Duplicate Finder Duplicate Mp3 Finder and duplicate image finder are two softwares, tools or programs which, as their name suggests, help you to find duplicate image files or duplicate mp3 files on your computer which block your hard disk space un-necessarily. It is suggested that you take your computer or computer network......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site