Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id EF20EA5683 for ; Wed, 11 Dec 2013 19:07:53 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 121BE14A3CE; Wed, 11 Dec 2013 19:07:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0627514A3CB for ; Wed, 11 Dec 2013 19:07:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JhuCaGTrOGl4 for ; Wed, 11 Dec 2013 19:07:48 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4CA4714A3C6 for ; Wed, 11 Dec 2013 19:07:48 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0B1A396; Wed, 11 Dec 2013 19:07:48 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 11 Dec 2013 19:07:48 +0000 From: "Patrick Welche" Subject: CVS commit: pkgsrc/sysutils/diskscrub To: pkgsrc-changes@NetBSD.org Reply-To: prlw1@netbsd.org X-Mailer: log_accum Message-Id: <20131211190748.0B1A396@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: prlw1 Date: Wed Dec 11 19:07:47 UTC 2013 Modified Files: pkgsrc/sysutils/diskscrub: Makefile distinfo Added Files: pkgsrc/sysutils/diskscrub/patches: patch-configure.ac patch-src_Makefile.am patch-src_getsize.c patch-test_Makefile.am Log Message: Update (disk)scrub to 2.5.2 (+add DIOCGDISKINFO implementation) Since 2.0: * Fix scrub abort on files/disks > 2G in size (issue 19) This was introduced in 2.5.0 and the failure is quick and obvious. * Fix loss of precision in disk size approximation (issue 18) * Add -t option to disable creation of thread to generate randomness in parallel with I/O. * Prepare source for a libscrub api (work in progress) * Cosmetic changes to man page and help output. * Generate randomness and do I/O in parallel [Richard B. Hill] * Replace O_SYNC with O_DIRECT+fsync+posix_fadvise [H. Peter Anvin] This produces a significant performance improvement, at least on Linux. * Add support for RDRAND instr. [H. Peter Anvin] * Use if the system has it [H. Peter Anvin] * Fix incorrect assertion in scrub --dirent handling (issue 9) [Peter Hyman] * Clean up tmp files after scrub --freespace (issue 9) [Peter Hyman] * Allow scrub --pattern=custom="string" (issue 11) [Peter Hyman] Allow C style numerical escapes in string: \nnn (octal) and \xnn (hex). This is a single-pass sequence with a custom pattern. * Change default buffer size from 1m to 4m [H. Peter Anvin] * Avoid closing and re-opening /dev/urandom [H. Peter Anvin] * Fix bug in pfitzner7 pattern def and add fillff, fillzero methods (issue 8) [Peter Hyman] * Change dod method to perform random pass first and skip extra pass. * Add --help option that lists available scrub methods. * Make dist tarball work with rpmbuild -ta. * Added usarmy, pfitzner7, and pfitzner33 methods. * Added -L option to not follow symbolic links [Timothy Boronczyk] * Treat a zero return from write(2) as an error. * New patterns: - random2: two random passes - schneier (one 0x00 pass, one 0xff pass, and five random passes) [Joe] * Add --pattern random (one random pass) mode. * Portability fixes for Slackware [Timothy Boronczyk] * Fix bug where scrub --remove on a zero length file would abort without removing the file. Issue a warning and remove it. * Fix a bug where some data from the original file could appear in the first disk block after a verified scrub when running without the -S (--no-signature) option. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/diskscrub/Makefile cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/diskscrub/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/diskscrub/patches/patch-configure.ac \ pkgsrc/sysutils/diskscrub/patches/patch-src_Makefile.am \ pkgsrc/sysutils/diskscrub/patches/patch-src_getsize.c \ pkgsrc/sysutils/diskscrub/patches/patch-test_Makefile.am Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.