From owner-freebsd-bugs Thu Feb 4 00:37:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA08408 for freebsd-bugs-outgoing; Thu, 4 Feb 1999 00:37:02 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA08134; Thu, 4 Feb 1999 00:34:57 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.2/8.9.2/UCB) id KAA43523; Thu, 4 Feb 1999 10:34:37 +0200 (EET) (envelope-from ru) Date: Thu, 4 Feb 1999 10:34:37 +0200 From: Ruslan Ermilov To: Joerg Wunsch Cc: bugs@FreeBSD.ORG Subject: Patch for src/tools/3.0-upgrade/README Message-ID: <19990204103437.A42015@ucb.crimea.ua> Mail-Followup-To: Joerg Wunsch , bugs@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="5mCyUwZo2JvN/JJP" X-Mailer: Mutt 0.94.17i X-Operating-System: FreeBSD 3.0-STABLE i386 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Hi! Please apply the patch in attachment. You love CVS, yeah? ;-) Best regards, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: README =================================================================== RCS file: /usr/FreeBSD-CVS/src/tools/3.0-upgrade/README,v retrieving revision 1.1 diff -u -r1.1 README --- README 1997/01/02 11:54:58 1.1 +++ README 1999/02/04 08:29:12 @@ -7,13 +7,13 @@ The tool cannot handle gzip'ed wtmp backups, so unzip them first if you need. Then simply call it as: - ./cvt-tmp /var/log/wtmp* + ./cvt-wtmp /var/log/wtmp* The old wtmp files are being renamed to .bak, so nothing will be lost even in case of a failure. If you are only about to test whether the tool will grok your files correctly, you can run it as: - ./cvs-tmp -n /var/log/wtmp* + ./cvt-wtmp -n /var/log/wtmp* The tool tries an ``educated guess'', based on the reasonability of the timestamp values in the wtmp file. If it fails to recognize the @@ -21,7 +21,7 @@ garbage records. In this case, rename the .bak files to the original name, and try to force the conversion: - ./cvs-tmp -f /var/log/wtmp.xxx + ./cvt-wtmp -f /var/log/wtmp.xxx Make sure to verify the result however! --5mCyUwZo2JvN/JJP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message