Date: Sat, 13 Nov 2010 05:52:45 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r215229 - stable/8/usr.bin/tar Message-ID: <201011130552.oAD5qjX7037323@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kientzle Date: Sat Nov 13 05:52:45 2010 New Revision: 215229 URL: http://svn.freebsd.org/changeset/base/215229 Log: MFC: Allow -b up to 8192. Folks working with modern high-speed tape drives are routinely using block sizes of 1MB (-b 2048), allowing up to 8192 should allow a little room for future growth. Modified: stable/8/usr.bin/tar/bsdtar.c Directory Properties: stable/8/usr.bin/tar/ (props changed) Modified: stable/8/usr.bin/tar/bsdtar.c ============================================================================== --- stable/8/usr.bin/tar/bsdtar.c Sat Nov 13 05:50:49 2010 (r215228) +++ stable/8/usr.bin/tar/bsdtar.c Sat Nov 13 05:52:45 2010 (r215229) @@ -186,9 +186,9 @@ main(int argc, char **argv) break; case 'b': /* SUSv2 */ t = atoi(bsdtar->optarg); - if (t <= 0 || t > 1024) + if (t <= 0 || t > 8192) bsdtar_errc(1, 0, - "Argument to -b is out of range (1..1024)"); + "Argument to -b is out of range (1..8192)"); bsdtar->bytes_per_block = 512 * t; break; case 'C': /* GNU tar */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011130552.oAD5qjX7037323>