Linux - jak bezpečně smazat disk

Linux - jak bezpečně smazat disk

Čau, chci prodat disk a řeším jak ho pod linuxem bezpečně smazat. Poradíte někdo?

ODPOVĚĎ


Ahoj,

k jednoduchému přepsání dat na disku můžeš použít dd:
dd if=/dev/zero of=/dev/sda bs=1M

Avšak bezpečně data smažeš až pomocí shredu:
shred -v /dev/sda

Parametry shredu:
-f, --force change permissions to allow writing if necessary
-n, --iterations=N overwrite N times instead of the default (3)
--random-source=FILE get random bytes from FILE
-s, --size=N shred this many bytes (suffixes like K, M, G accepted)
-u truncate and remove file after overwriting
--remove[=HOW] like -u but give control on HOW to delete; See below
-v, --verbose show progress
-x, --exact do not round file sizes up to the next full block; this is the default for non-regular files
-z, --zero add a final overwrite with zeros to hide shredding
--version output version information and exit
Jak se ti článek líbil?

Komentáře (0)

Přidat komentář