]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a -k option that prevents clearing the dump after saving it.
authordes <des@FreeBSD.org>
Fri, 16 Feb 2001 16:27:32 +0000 (16:27 +0000)
committerdes <des@FreeBSD.org>
Fri, 16 Feb 2001 16:27:32 +0000 (16:27 +0000)
commite7c92315f1c50efb400c3dca538fc0c49c4a589c
tree6150c6fc73500ebe2abee935d81f7e9063a9d98e
parent717f1e459ef63b560b99bd3e038b17c3ec2f5314
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.
sbin/savecore/savecore.c