Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2006 15:57:38 -0600 (CST)
From:      Erik Greenwald <erik@smluc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erikg@arl.army.mil
Subject:   ports/105980: [New Port] sysutils/diskscrub - scrub a disk/file/freespace.
Message-ID:  <20061128215738.A5DDA1CE55@phoenix.smluc.org>
Resent-Message-ID: <200611282200.kASM0UwP012483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105980
>Category:       ports
>Synopsis:       [New Port]  sysutils/diskscrub  - scrub a disk/file/freespace.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 28 22:00:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
US Army Research Laboratory
>Environment:
System: FreeBSD fenris 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Oct 10 16:58:15 EDT 2006 erik@fenris:/usr/obj/usr/src/sys/FENRIS i386

>Description:
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 
scrubbing that)

>How-To-Repeat:
>Fix:

--- 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:
#
#	sysutils/diskscrub
#	sysutils/diskscrub/pkg-descr
#	sysutils/diskscrub/distinfo
#	sysutils/diskscrub/Makefile
#
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:
X
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.
X
XScrub implements user-selectable pattern algorithms that are compliant with
XDoD 5520.22-M or NNSA NAP-14.x.
X
XWWW: http://www.llnl.gov/linux/scrub/scrub.html
END-of-sysutils/diskscrub/pkg-descr
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
END-of-sysutils/diskscrub/distinfo
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@smluc.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	diskscrub
XPORTVERSION=	1.8
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	scrub-${PORTVERSION}
X
XMAINTAINER=	erik@smluc.org
XCOMMENT=	Writes patterns on files to make retrieving the data more difficult
X
XMAN1=	scrub.1
X
XPLIST_FILES=	bin/scrub
X
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
X
Xdo-install:
X	$(INSTALL_PROGRAM) $(WRKSRC)/scrub $(PREFIX)/bin/scrub
X	$(INSTALL_MAN) $(WRKSRC)/scrub.1 $(MANPREFIX)/man/man1/scrub.1
X
X.include <bsd.port.mk>
END-of-sysutils/diskscrub/Makefile
exit
--- sysutils_diskscrub.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061128215738.A5DDA1CE55>