wiping of unused space on ext3
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Thu Sep 7 10:58:25 UTC 2006
Mindaugas wrote:
> Hello,
>
> I was asked if it is possible to zero unused space in ext3 partition?
Easiest way I can think of is:
cat /dev/zero >/fsmountpoint/temp-file
Then, after you get the inevitable error that the disk is full:
rm /fsmountpoint/temp-file
Of course this should probably be done while nobody else is trying to
create or enlarge a file, otherwise they could get errors too...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20060907/2c1cf1e0/attachment.sig>
More information about the Ext3-users
mailing list