ports/105980: [New Port] sysutils/diskscrub - scrub a disk/file/freespace.
erik at smluc.org
Tue Nov 28 22:00:31 UTC 2006
>Synopsis: [New Port] sysutils/diskscrub - scrub a disk/file/freespace.
>Arrival-Date: Tue Nov 28 22:00:24 GMT 2006
>Originator: Erik Greenwald
>Release: FreeBSD 6.2-PRERELEASE i386
US Army Research Laboratory
System: FreeBSD fenris 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Oct 10 16:58:15 EDT 2006 erik at fenris:/usr/obj/usr/src/sys/FENRIS i386
new port performs disk scrubbing on either an entire disk, a single
file, or 'free space' (by creating a new file that fills the FS and
--- sysutils_diskscrub.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
# This archive contains:
echo c - sysutils/diskscrub
mkdir -p sysutils/diskscrub > /dev/null 2>&1
echo x - sysutils/diskscrub/pkg-descr
sed 's/^X//' >sysutils/diskscrub/pkg-descr << 'END-of-sysutils/diskscrub/pkg-descr'
XScrub iteratively writes patterns on files or disk devices to make retrieving
Xthe data more difficult. Scrub operates in one of three modes:
X1. The special file corresponding to an entire disk is scrubbed and
X all data on it is destroyed. This mode is selected if file is a
X character or block special file. This is the most effective method.
X2. A regular file is scrubbed and only the data in the file (and optionally
X its name in the directory entry) is destroyed. The file size is rounded up
X to fill out the last file system block. This mode is selected if file is a
X regular file.
X3. A file is created, expanded until the file system is full, then scrubbed as
X in item 2. This mode is selected with the -X option.
XScrub implements user-selectable pattern algorithms that are compliant with
XDoD 5520.22-M or NNSA NAP-14.x.
echo x - sysutils/diskscrub/distinfo
sed 's/^X//' >sysutils/diskscrub/distinfo << 'END-of-sysutils/diskscrub/distinfo'
XMD5 (scrub-1.8.tar.bz2) = 18230b4196b7854740820cda39ecccd0
XSHA256 (scrub-1.8.tar.bz2) = 6bca4b8c378bd066cb7512b92a341c0613609b2ac65fc1ca59d23f40054486e8
XSIZE (scrub-1.8.tar.bz2) = 29545
echo x - sysutils/diskscrub/Makefile
sed 's/^X//' >sysutils/diskscrub/Makefile << 'END-of-sysutils/diskscrub/Makefile'
X# New ports collection makefile for: diskscrub
X# Date created: 28 November 2006
X# Whom: Erik Greenwald <erik at smluc.org>
XMAINTAINER= erik at smluc.org
XCOMMENT= Writes patterns on files to make retrieving the data more difficult
X $(INSTALL_PROGRAM) $(WRKSRC)/scrub $(PREFIX)/bin/scrub
X $(INSTALL_MAN) $(WRKSRC)/scrub.1 $(MANPREFIX)/man/man1/scrub.1
--- sysutils_diskscrub.shar ends here ---
More information about the freebsd-ports-bugs