From owner-freebsd-bugs Fri Jun 8 19:20: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C5D237B405 for ; Fri, 8 Jun 2001 19:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f592K1w89495; Fri, 8 Jun 2001 19:20:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 39E9437B405 for ; Fri, 8 Jun 2001 19:13:25 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f592DP289167; Fri, 8 Jun 2001 19:13:25 -0700 (PDT) (envelope-from nobody) Message-Id: <200106090213.f592DP289167@freefall.freebsd.org> Date: Fri, 8 Jun 2001 19:13:25 -0700 (PDT) From: sgreear@vsni.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/27982: dump(8) doesn't seem to correctly grok the -T option. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27982 >Category: bin >Synopsis: dump(8) doesn't seem to correctly grok the -T option. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 08 19:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Samuel Greear >Release: 4.3-STABLE >Organization: Virtual Space Network, Inc. >Environment: FreeBSD 4.3-STABLE #0: Thu Jun 7 05:30:36 MST 2001 sgreear@host1.isp-admin.com:/usr/src/sys/compile/VSNI >Description: Executing: dump -f - -T "Sat Jun 9 18:05:38 2001" /archive/temp Reports: Must specify disk or filesystem whereas Executing: dump -f - -T "Sat Jun 9 18:05:38 2001" . /archive/temp results in the desired activity. Note the "." after the date string. dump appears to do argc--; argv++; one too many times when the -T option is specified. >How-To-Repeat: >Fix: --- oldmain.c Sat Jun 9 19:04:44 2001 +++ main.c Sat Jun 9 19:04:58 2001 @@ -191,8 +191,6 @@ } Tflag = 1; lastlevel = '?'; - argc--; - argv++; break; case 'u': /* update /etc/dumpdates */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message