diff options
author | charnier <charnier@FreeBSD.org> | 1998-07-28 06:38:57 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-07-28 06:38:57 +0000 |
commit | b2d8598d95cd21f6e3549607bb84c76c1af81750 (patch) | |
tree | e3fd9c2c29f73eb8de569b24691a1081bd6d4c1f /sbin/savecore | |
parent | cd64002d5da7c3bacf30747f3a6af5baca8676a6 (diff) | |
download | FreeBSD-src-b2d8598d95cd21f6e3549607bb84c76c1af81750.zip FreeBSD-src-b2d8598d95cd21f6e3549607bb84c76c1af81750.tar.gz |
Correct use of .Nm, add rcsid, remove unused #include.
Diffstat (limited to 'sbin/savecore')
-rw-r--r-- | sbin/savecore/savecore.8 | 20 | ||||
-rw-r--r-- | sbin/savecore/savecore.c | 7 |
2 files changed, 15 insertions, 12 deletions
diff --git a/sbin/savecore/savecore.8 b/sbin/savecore/savecore.8 index 216cd7f..a2c717c 100644 --- a/sbin/savecore/savecore.8 +++ b/sbin/savecore/savecore.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)savecore.8 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: savecore.8,v 1.6 1997/02/22 14:33:14 peter Exp $ .\" .Dd September 23, 1994 .Dt SAVECORE 8 @@ -53,13 +53,13 @@ and enters a reboot message and information about the core dump into the system log. .Pp The options are as follows: -.Bl -tag -width directory +.Bl -tag -width indent .It Fl c -Clears the dump, so that future invocations of -.Nm savecore +Clear the dump, so that future invocations of +.Nm will ignore it. .It Fl f -Forces a dump to be taken even if the dump doesn't appear correct or there +Force a dump to be taken even if the dump doesn't appear correct or there is insufficient disk space. .It Fl N Use @@ -67,9 +67,9 @@ Use as the kernel instead of the running kernel (as determined from .Xr getbootfile 3 ). .It Fl v -Prints out some additional debugging information. +Print out some additional debugging information. .It Fl z -Compresses the core dump and kernel (see +Compress the core dump and kernel (see .Xr compress 1 ). .El .Pp @@ -83,7 +83,7 @@ and the system in The ``#'' is the number from the first line of the file .Ar directory Ns Pa /bounds , and it is incremented and stored back into the file each time -.Nm savecore +.Nm successfully runs. .Pp .Nm Savecore @@ -97,10 +97,10 @@ filesystem after the copies were made would be less than the number in the first line of this file, the copies are not attempted. .Pp If -.Nm savecore +.Nm successfully copies the kernel and the core dump, the core dump is cleared so that future invocations of -.Nm savecore +.Nm will ignore it. .Pp .Nm Savecore diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index d90a9a7..d6e4591 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -32,20 +32,23 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1986, 1992, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)savecore.c 8.3 (Berkeley) 1/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> #include <sys/stat.h> #include <sys/mount.h> #include <sys/syslog.h> -#include <sys/time.h> #include <vm/vm.h> #include <vm/vm_param.h> |