From owner-svn-src-all@FreeBSD.ORG Sat Feb 13 10:22:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26EB106566C; Sat, 13 Feb 2010 10:22:07 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AF51F8FC0A; Sat, 13 Feb 2010 10:22:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o1DAM7j1041923; Sat, 13 Feb 2010 10:22:07 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1DAM75M041921; Sat, 13 Feb 2010 10:22:07 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <201002131022.o1DAM75M041921@svn.freebsd.org> From: Jaakko Heinonen Date: Sat, 13 Feb 2010 10:22:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203816 - head/sbin/restore X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 10:22:07 -0000 Author: jh Date: Sat Feb 13 10:22:07 2010 New Revision: 203816 URL: http://svn.freebsd.org/changeset/base/203816 Log: Don't try to determine tape block size when the -P option is used. This was missed in r203157. PR: bin/121502 Modified: head/sbin/restore/tape.c Modified: head/sbin/restore/tape.c ============================================================================== --- head/sbin/restore/tape.c Sat Feb 13 09:45:50 2010 (r203815) +++ head/sbin/restore/tape.c Sat Feb 13 10:22:07 2010 (r203816) @@ -227,7 +227,7 @@ setup(void) volno = 1; setdumpnum(); FLUSHTAPEBUF(); - if (!pipein && !bflag) + if (!pipein && !pipecmdin && !bflag) findtapeblksize(); if (gethead(&spcl) == FAIL) { fprintf(stderr, "Tape is not a dump tape\n");