From owner-cvs-all Fri Feb 16 8:27:41 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D7EE37B503; Fri, 16 Feb 2001 08:27:33 -0800 (PST) Received: (from des@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1GGRWK25526; Fri, 16 Feb 2001 08:27:32 -0800 (PST) (envelope-from des) Message-Id: <200102161627.f1GGRWK25526@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Fri, 16 Feb 2001 08:27:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/savecore savecore.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2001/02/16 08:27:32 PST Modified files: sbin/savecore savecore.c Log: Add a -k option that prevents clearing the dump after saving it. Use sysctlbyname() instead of sysctl(). Clear up and simplify the version extraction code. Attempt to detect stretches of zeroes in the dump and avoid writing them to disk to save space and time. Revision Changes Path 1.37 +58 -17 src/sbin/savecore/savecore.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message