bin/129110: dump -W in 8-CURRENT fails to report past dump levels
Mike Voorhis
mvoorhis at cs.wpi.edu
Sun Nov 23 17:20:01 PST 2008
>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 at eressea.wpi.edu:/large/obj/data/mvoorhis/FreeBSD/src-releng_8/src/sys/ERESSEA8 i386
<machine, os, target, libraries (multiple lines)>
More information about the freebsd-bugs
mailing list