Date: Fri, 12 Nov 2010 09:39:08 +0100 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Subject: Re: how to overwrite the content of a file Message-ID: <20101112083907.GA2322@current.Sisis.de> In-Reply-To: <AANLkTind2VkJdM%2BkdTDBWuHXs5KCpN0DhaCS22Xg9HFn@mail.gmail.com> References: <20101111200252.GA1350@tiny.Sisis.de> <AANLkTind2VkJdM%2BkdTDBWuHXs5KCpN0DhaCS22Xg9HFn@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, November 11, 2010 a las 02:16:33PM -0600, Adam Vande More escribió: > > What is the best method to overwrite the blocks of a given file with > > bytes of 0x00, i.e. not to O_TRUNC away the blocks to the freelist of the > > file system, but overwrite the old blocks? > > ... > > Well there is "rm -P" although I'm not sure that accomplished exactly what > you are looking for. Yes, thanks. This is exactly what I need. matthias > > -- > Adam Vande More -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru@unixarea.de> - w http://www.unixarea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101112083907.GA2322>