Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 19:13:25 -0700 (PDT)
From:      sgreear@vsni.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/27982: dump(8) doesn't seem to correctly grok the -T option.
Message-ID:  <200106090213.f592DP289167@freefall.freebsd.org>

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

>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




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