Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Zeroing unused FFS blocks

On Fri, Jan 25, 2008 at 01:08:19PM +0000, Steven M. Bellovin wrote:
> The easiest thing is to mount the file and copy /dev/zero to some
> filename.  When the disk fills up, delete the file... 

What I do is rm the file as soon as it's created and dd is running;
that way, as soon as dd gets ENOSPC and quits, the file is removed and
the space is returned automatically.


Attachment: pgprU6irLfOvy.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index