Date: Sun, 29 Jul 2001 20:12:41 -0700 (PDT) From: ken restivo <krestivo@246gt.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/29316: patch to bug in dump, in handling -T option Message-ID: <200107300312.f6U3CfW96015@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 29316 >Category: bin >Synopsis: patch to bug in dump, in handling -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: Sun Jul 29 20:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: ken restivo >Release: 4.3-RELEASE >Organization: 246gt.com >Environment: FreeBSD bc.home.246gt.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Jun 18 22:16:48 PDT 2001 ken@bc.home.246gt.com:/usr/src/sys/compile/BC i386 >Description: when specifying a dump with: dump -9a -T "Sun Jul 29 19:06:16 2001" / dump was complaining that no filesystem was specified. i dug through the sourcecode and found the following in /usr/src/sbin/dump/main.c:194 : argc--; argv++; i simply commented out those two lines, and now dump works fine when you specify the -T option. >How-To-Repeat: this command: dump -9a -T "Sun Jul 29 19:06:16 2001" / or any of these variants: dump -9 -a -T "Sun Jul 29 19:06:16 2001" / dump -9 -a -T "Sun Jul 29 19:06:16 2001" /usr dump -9 -a -f /dev/nrsa0 -T "Sun Jul 29 19:06:16 2001" / dump -9 -a -T "Sun Jul 29 19:06:16 2001" -f /dev/nrsa0 / >Fix: comment out the argc-- and argv++ at or about line 194 in main.c, in the case 'T' option handling section of the switch statement >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?200107300312.f6U3CfW96015>
