Date: Sat, 18 Oct 1997 11:20:01 -0700 (PDT) From: Matthew Dillon <dillon@backplane.com> To: freebsd-bugs Subject: Re: docs/4785: manual page for dump incorrect Message-ID: <199710181820.LAA28117@hub.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/4785; it has been noted by GNATS.
From: Matthew Dillon <dillon@backplane.com>
To: j@uriah.heep.sax.de (J Wunsch)
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: docs/4785: manual page for dump incorrect
Date: Sat, 18 Oct 1997 11:15:33 -0700 (PDT)
:Usage error. If you modify it like this:
:
: dump 0ubf 64 - / > /dev/null
: dump 1ubf 64 - / > /dev/null
: dd if=/dev/zero of=/xxx bs=32k count=10 (create big file)
: dump 1ubf 64 - / > /dev/null
: dump 1ubf 64 - / > /dev/null
:
:...the first level 1 dump won't dump anything (since nothing has
:changed since the last level 0 dump), but the second level 1 dump will
:dump the new file. The third level 1 dump, again, has nothing to dump
:since nothing has changed.
J"org, I'm pretty sure the third level 1 dump saves /xxx again.
apollo:/home/dillon# dump 0ubf 64 - / > /dev/null
DUMP: Date of this level 0 dump: Sat Oct 18 11:12:54 1997
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 17950 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 18023 tape blocks
DUMP: finished in 13 seconds, throughput 1386 KBytes/sec
DUMP: level 0 dump on Sat Oct 18 11:12:54 1997
DUMP: DUMP IS DONE
apollo:/home/dillon# dump 1ubf 64 - / > /dev/null
DUMP: Date of this level 1 dump: Sat Oct 18 11:13:08 1997
DUMP: Date of last level 0 dump: Sat Oct 18 11:12:54 1997
DUMP: Dumping /dev/rsd0a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 45 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 100 tape blocks
DUMP: finished in less than a second
DUMP: level 1 dump on Sat Oct 18 11:13:08 1997
DUMP: DUMP IS DONE
apollo:/home/dillon# dd if=/dev/zero of=/xxx bs=32k count=10
10+0 records in
10+0 records out
327680 bytes transferred in 0.022121 secs (14813025 bytes/sec)
apollo:/home/dillon# dump 1ubf 64 - / > /dev/null
DUMP: Date of this level 1 dump: Sat Oct 18 11:13:19 1997
DUMP: Date of last level 0 dump: Sat Oct 18 11:12:54 1997
DUMP: Dumping /dev/rsd0a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 369 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 422 tape blocks
DUMP: finished in 1 seconds, throughput 422 KBytes/sec
DUMP: level 1 dump on Sat Oct 18 11:13:19 1997
DUMP: DUMP IS DONE
apollo:/home/dillon# dump 1ubf 64 - / > /tmp/yy
DUMP: Date of this level 1 dump: Sat Oct 18 11:13:24 1997
DUMP: Date of last level 0 dump: Sat Oct 18 11:12:54 1997
DUMP: Dumping /dev/rsd0a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 369 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 422 tape blocks
DUMP: finished in 1 seconds, throughput 422 KBytes/sec
DUMP: level 1 dump on Sat Oct 18 11:13:24 1997
DUMP: DUMP IS DONE
apollo:/home/dillon#
apollo:/home/dillon# restore tvbf 64 - < /tmp/yy
Verify tape and initialize maps
Dump date: Sat Oct 18 11:14:31 1997
Dumped from: Sat Oct 18 11:12:54 1997
Level 1 dump of / on apollo.backplane.com:/dev/sd0a
Label: none
Extract directories from tape
Initialize symbol table.
dir 2 .
dir 3 ./dev
leaf 292 ./dev/null
leaf 491 ./dev/ttyp2
leaf 497 ./dev/ttyp5
leaf 503 ./dev/ttyp8
leaf 504 ./dev/ptyp8
leaf 505 ./dev/ttyp9
leaf 506 ./dev/ptyp9
dir 184 ./etc
leaf 677 ./etc/dumpdates
leaf 119 ./xxx
:--
:cheers, J"org
:
:joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
:Never trust an operating system you don't have sources for. ;-)
:
Matthew Dillon Engineering, BEST Internet Communications, Inc.
<dillon@apollo.backplane.com>
[always include a portion of the original email in any response!]
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710181820.LAA28117>
