[plug] Zeroing blocks on ext2/3

Brad Campbell brad at wasp.net.au
Thu Oct 30 15:08:18 WST 2003


James Devenish wrote:
> In message <3FA0B4E0.6040204 at wasp.net.au>
> on Thu, Oct 30, 2003 at 10:51:12AM +0400, Brad Campbell wrote:
> 
>>> dd if=/dev/zero of=/mnt/part/foo
>>> rm /mnt/part/foo
>>
>>Nope.. obviously trying to do things the hard way :p)
>>cd /tmp ; cat /dev/zero > tmpzero ; sync ; rm tmpzero
> 
> 
> How are those different??

They are not different at all, thats just the way I did it.
More than one way to skin a cat, and my way required less typing ;p)
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list