Linux - jak bezpečně smazat disk
Čau, chci prodat disk a řeším jak ho pod linuxem bezpečně smazat. Poradíte někdo?
Ahoj,
k jednoduchému přepsání dat na disku můžeš použít dd:
Avšak bezpečně data smažeš až pomocí shredu:
Parametry shredu:
ODPOVĚĎ
Ahoj,
k jednoduchému přepsání dat na disku můžeš použít dd:
dd if=/dev/zero of=/dev/sda bs=1MAvšak bezpečně data smažeš až pomocí shredu:
shred -v /dev/sdaParametry shredu:
-f, --forcechange permissions to allow writing if necessary-n, --iterations=Noverwrite N times instead of the default (3)--random-source=FILEget random bytes from FILE-s, --size=Nshred this many bytes (suffixes like K, M, G accepted)-utruncate and remove file after overwriting--remove[=HOW]like -u but give control on HOW to delete; See below-v, --verboseshow progress-x, --exactdo not round file sizes up to the next full block; this is the default for non-regular files-z, --zeroadd a final overwrite with zeros to hide shredding--versionoutput version information and exit