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