./sysutils/wipe, Secure data destruction

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2014Q2, Version: 2.2.0, Package name: wipe-2.2.0, Maintainer: pkgsrc-users

Wipe is a secure file wiping utility.

There are some low level issues that must be taken into consideration.
One of these is that there must be some sort of write barrier between
passes. Wipe uses fdatasync(2) (or fsync(2)) as a write barrier, or
if fsync(2) isn't available, the file is opened with the O_DSYNC or
O_SYNC flag. For wipe to be effective, each pass must be completely
written. To ensure this, the drive must support some form of a write
barrier, write cache flush, or write cache disabling. SCSI supports
ordered command tags, has a force media access bit for commands, and
write cache can be disable on mode page 8. IDE/ATA drives support
write cache flushes and write cache disabling.

Unfortunately, not all drives actually disable write cache when asked
to. Those drives are broken. Write caching should always be
disabled, unless your system is battery backed and always powers down
cleanly.


Master sites:

SHA1: 4dd18f260ecd91b726336b2788fa33db04d6691a
RMD160: 5d1861bd893e01e94205a7ac2efadb1c756da700
Filesize: 68.49 KB

Version history: (Expand)