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

Re: file scrubbing



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 9 Aug 2002 15:39, Ron Johnson wrote:
> On Fri, 2002-08-09 at 00:14, Geoff Crompton wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> >   Does anyone know of any file scrubbing tools? Something that will zero
> > out the contents of a file, or overwrite it with random data? Previously
> > I have done things find the file size, and use
> >   $dd if=/dev/zero of=targfile bs=1 count=filesize
> >   But I am not certain that this overwrites the actual inode locations on
> > disk, and it is clumsy to work out the file size before hand.
> >   Something like the following would be great:
> >
> >   $ scrub -r -R -d dir
> >
> >   Where the -r would recurse, the -R would randomize it (instead of
> > filling with zeros) and the -d would sync and then rm the file.
>
> What kind of filesystem will it be on?  As has been discussed many
> times here, journaling filesystems bollix up scrubbers.

  I was probably thinking of ext3, simply because that is what I use 
everywhere. Are their scrubbers for non-journaling filesystems?

  Cheers
  Geoff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9U2D9x8QbdaYmRS8RAmPlAKD4qBB+UcWWTZerdjARvysxWAbRcgCg4zDM
TrZS1aaMUN1EevliERvqDiY=
=h3p0
-----END PGP SIGNATURE-----



Reply to: