Add zeroer, a command line utility for wiping unallocated space on

a filesystem.
This commit is contained in:
Emanuel Haupt 2006-01-04 20:34:52 +00:00
parent 2ddb84e1ae
commit ba449ef02c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152742
4 changed files with 52 additions and 0 deletions

View file

@ -634,6 +634,7 @@
SUBDIR += xwipower
SUBDIR += xwlans
SUBDIR += yawho
SUBDIR += zeroer
SUBDIR += zidrav
SUBDIR += zisofs-tools

38
sysutils/zeroer/Makefile Normal file
View file

@ -0,0 +1,38 @@
# New ports collection makefile for: zeroer
# Date created: 2 Jan 2006
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= zeroer
PORTVERSION= 0.1
CATEGORIES= sysutils
MASTER_SITES= http://critical.ch/${PORTNAME}/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A command line utility for wiping unallocated space on a filesystem
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
MAN1= zeroer.1
PLIST_FILES= bin/zeroer
PORTDOCS= README
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpopt
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

3
sysutils/zeroer/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (zeroer-0.1.tar.gz) = 7e48ba06395f77dd93824006ce4f805f
SHA256 (zeroer-0.1.tar.gz) = be97127fa77979c41f0fedbd4deb0a2942df569becd3223cbe474a8ed1a35408
SIZE (zeroer-0.1.tar.gz) = 10383

10
sysutils/zeroer/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
The zeroer utility can be used to wipe empty space on a disk. In contrary to dd,
zeroer does not wipe existing files on a partition. It overwrites the
unallocated disk space around existing files, which means that deleted files
cannot be restored after processing a certain partition with zeroer.
The utility's principle consists in writing huge zero-padded memory blocks to a
file. To a certain extent this works similar to dd, however zeroer dynamically
reduces the blockwriter's buffer size when the filesystem is going to be full.
WWW: http://critical.ch/zeroer/