Date: Sun, 23 Nov 2008 19:52:18 -0500 (EST) From: Mike Voorhis <mvoorhis@cs.wpi.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/129110: dump -W in 8-CURRENT fails to report past dump levels Message-ID: <200811240052.mAO0qI9V031970@eressea.wpi.edu> Resent-Message-ID: <200811240120.mAO1K18q037238@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129110 >Category: bin >Synopsis: dump -W in 8-CURRENT fails to report past dump levels >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: Mon Nov 24 01:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mike Voorhis >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: >Description: On a new 8-Current (mine is from 21 November 2008, 16:54), dump a filesystem to someplace: dump -0Lauf /dev/null / Observe that /etc/dumpdates is updated correctly with the dumplevel you chose, and the correct date. Now run "dump -W" and observe that the dumpdate is there, but the dump LEVEL is not reported where it should be. >How-To-Repeat: (see "description") >Fix: In /usr/src/sbin/dump/optr.c (v 1.35) change line 408: old: "%c %8s\t(%6s) Last dump: Level %c, Date %s\n", new: "%c %8s\t(%6s) Last dump: Level %d, Date %s\n", >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD eressea.wpi.edu 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Nov 22 10:01:40 EST 2008 root@eressea.wpi.edu:/large/obj/data/mvoorhis/FreeBSD/src-releng_8/src/sys/ERESSEA8 i386 <machine, os, target, libraries (multiple lines)>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811240052.mAO0qI9V031970>