[plug] Zeroing blocks on ext2/3

Trevor Phillips T.Phillips at murdoch.edu.au
Thu Oct 30 13:38:44 WST 2003


On Wed, 29 Oct 2003, Brad Campbell wrote:
> Does anyone have any leads on how to zero unused blocks on an ext2
> filesystem?

Are you trying to do something more complicated than I think you're doing, or 
is something like this what you want?

  dd if=/dev/zero of=/mnt/part/foo
  rm /mnt/part/foo

-- 
. Trevor Phillips             -           http://jurai.murdoch.edu.au/ . 
: Web Technical Administrator     -          T.Phillips at murdoch.edu.au : 
| IT Services                        -              Murdoch University | 
 >--------------------------------------------------------------------<
| On nights such as this, evil deeds are done. And good deeds, of     /
| course. But mostly evil, on the whole.                             /
 \      -- (Terry Pratchett, Wyrd Sisters)                          /

_______________________________________________
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