[Nottingham] 1GB of \0 (aka null)

Peter Chang Peter.Chang at nottingham.ac.uk
Wed May 3 17:37:50 BST 2006



> How best to instead get 1GByte (or whatever) of 0xff ?

Use dd and then pipe to tr.

> And what is best for overwriting unused areas of the hdd so that bzip2 
> can achieve maximum compression? (I'm guessing all ff's or all 00's will 
> do nicely.)

Anything that's a repeating sequence will probably compress well.

Peter



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list