On 10/03/2015 02:24 PM, Bo Berglund wrote:
...
Is there some way one can reset all unused sectors on the disk to only
contain 0xFF or Ox00?
That would make the image file compressible to a few GB and possible
to share.

On this wiki page:
  http://wiki.freepascal.org/Small_Virtual_Machines

I show:
sudo dd if=/dev/zero of=/mytempfile (this is very slow as it fills the entire partition)
  sudo rm -f /mytempfile

That last step is a little dangerous as my Linux student friends at Ohio State have a similar example that they like to point out. :)

Also, I'm not sure what exactly it does so you should research it more before doing it!

Best Regards,
Paul
www.ControlPascal.com

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to