detalle borrando archivos

Mauricio Nuñez mauricio en chile.com
Vie Dic 24 10:05:03 CLST 2004


El jue, 23-12-2004 a las 22:53 -0300, Ignacio Torres escribió:
> On Tue, 21 Dec 2004 10:42:00 -0300, Mauricio Nuñez <mauricio en chile.com> wrote:
> > El mar, 21-12-2004 a las 10:29 -0300, Linus Casassa escribió:
> 
> > 
> > Tenga en cuenta que si utiliza rm para borrar un fichero, normalmente es
> > posible recuperar el contenido de ese fichero. Si quiere mayor seguridad
> > de que el contenido es realmente irrecuperable, considere utilizar
> > shred.
> > 
> 
> 
> y como lo recuperas??
> 

Ni idea :-) 

Es lo que dice el rm --help

Aunque dependera de como el file system subyacente ejecuta la accion de
borrar archivo, porque entre reemplazar el contenido del archivo con 0s
antes de borrarlo o solo marcar el archivo para que el espacio ocupado
quede disponible para almacenar otra informacion, es mejor la segunda
opcion.

El info de shred es mas claro:

info coreutils shred
...
Ordinarily when you remove a file (*note rm invocation::), the data
is not actually destroyed.  Only the index listing where the file is
stored is destroyed, and the storage is made available for reuse.
There are undelete utilities that will attempt to reconstruct the index
and can bring the file back if the parts were not reused.
...

The best way to remove something irretrievably is to destroy the
media it's on with acid, melt it down, or the like.  For cheap
removable media like floppy disks, this is the preferred method.
However, hard drives are expensive and hard to melt, so the `shred'
utility tries to achieve a similar effect non-destructively.
...

Eso si, ojo con la siguiente advertencia / suposición:
...
*Please note* that `shred' relies on a very important assumption:
that the filesystem overwrites data in place.  This is the traditional
way to do things, but many modern filesystem designs do not satisfy this
assumption.  Exceptions include:

...

Bueno, en resumen:

rm --help
info coreutils shred


Saludos

-- 
Mauricio Nuñez <mauricio en chile.com>




Más información sobre la lista de distribución Linux