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

Martin martin at ml1.co.uk
Wed May 3 17:04:38 BST 2006


Richard Hayes wrote:
> Hi guys,
>  
> This is my first post. Hello everyone.
>  
> Does anyone know where I can get 1GB (or any amount for that matter) of 
> \0 (null) characters?

I'm rushed and unimaginative at the moment:


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

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.)

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list