Initial import from FreeBSD RELENG_4:
[dragonfly.git] / tools / 3.0-upgrade / README
1 $FreeBSD: src/tools/3.0-upgrade/README,v 1.2.2.1 2002/08/08 10:05:55 ru Exp $
2
3 By 1996/12/04, the utmp element size has been changed, in order to
4 allow for longer usernames.  This change renders all existing wtmp
5 files unusable.  The cvt-wtmp utility is provided as an aid to convert
6 your old wtmp files into the new format, so you don't lose the
7 existing track record.
8
9 The tool cannot handle gzip'ed wtmp backups, so unzip them first if
10 you need.  Then simply call it as:
11
12         ./cvt-wtmp /var/log/wtmp*
13
14 The old wtmp files are being renamed to <file>.bak, so nothing will be
15 lost even in case of a failure.  If you are only about to test whether
16 the tool will grok your files correctly, you can run it as:
17
18         ./cvt-wtmp -n /var/log/wtmp*
19
20 The tool tries an ``educated guess'', based on the reasonability of
21 the timestamp values in the wtmp file.  If it fails to recognize the
22 format of your wtmp, it normally bails out, or at least ignores
23 garbage records.  In this case, rename the .bak files to the original
24 name, and try to force the conversion:
25
26         ./cvt-wtmp -f /var/log/wtmp.xxx
27
28 Make sure to verify the result however!
29
30
31 Dresden, Jan 2, 1996                    Joerg  <joerg@FreeBSD.org>