Deleted Added
full compact
savecore.8 (1559) savecore.8 (1856)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 49 unchanged lines hidden (view full) ---

58.Nm savecore
59will ignore it.
60.It Fl f
61Forces a dump to be taken even if the dump doesn't appear correct or there
62is insufficient disk space.
63.It Fl N
64Use
65.Ar system
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 49 unchanged lines hidden (view full) ---

58.Nm savecore
59will ignore it.
60.It Fl f
61Forces a dump to be taken even if the dump doesn't appear correct or there
62is insufficient disk space.
63.It Fl N
64Use
65.Ar system
66as the kernel instead of the default ``/vmunix''.
66as the kernel instead of the default ``/kernel''.
67.It Fl v
68Prints out some additional debugging information.
69.It Fl z
70Compresses the core dump and kernel (see
71.Xr compress 1 ).
72.El
73.Pp
74.Nm Savecore
75checks the core dump in various ways to make sure that it is current and
76that it corresponds to the currently running system.
77If it passes these checks, it saves the core image in
78.Ar directory Ns Pa /vmcore.#
79and the system in
67.It Fl v
68Prints out some additional debugging information.
69.It Fl z
70Compresses the core dump and kernel (see
71.Xr compress 1 ).
72.El
73.Pp
74.Nm Savecore
75checks the core dump in various ways to make sure that it is current and
76that it corresponds to the currently running system.
77If it passes these checks, it saves the core image in
78.Ar directory Ns Pa /vmcore.#
79and the system in
80.Ar directory Ns Pa /vmunix.#
80.Ar directory Ns Pa /kernel.#
81The ``#'' is the number from the first line of the file
82.Ar directory Ns Pa /bounds ,
83and it is incremented and stored back into the file each time
84.Nm savecore
85successfully runs.
86.Pp
87.Nm Savecore
88also checks the available disk space before attempting to make the copies.

--- 13 unchanged lines hidden (view full) ---

102will ignore it.
103.Pp
104.Nm Savecore
105is meant to be called near the end of the initialization file
106.Pa /etc/rc
107(see
108.Xr rc 8 ) .
109.Sh FILES
81The ``#'' is the number from the first line of the file
82.Ar directory Ns Pa /bounds ,
83and it is incremented and stored back into the file each time
84.Nm savecore
85successfully runs.
86.Pp
87.Nm Savecore
88also checks the available disk space before attempting to make the copies.

--- 13 unchanged lines hidden (view full) ---

102will ignore it.
103.Pp
104.Nm Savecore
105is meant to be called near the end of the initialization file
106.Pa /etc/rc
107(see
108.Xr rc 8 ) .
109.Sh FILES
110.Bl -tag -width /vmunixxx -compact
111.It Pa /vmunix
110.Bl -tag -width /kernelxx -compact
111.It Pa /kernel
112current
113.Tn UNIX
114.El
115.Sh BUGS
116The minfree code does not consider the effect of compression.
117.Sh SEE ALSO
118.Xr compress 1 ,
119.Xr syslogd 8
120.Sh HISTORY
121The
122.Nm
123command appeared in
124.Bx 4.1 .
112current
113.Tn UNIX
114.El
115.Sh BUGS
116The minfree code does not consider the effect of compression.
117.Sh SEE ALSO
118.Xr compress 1 ,
119.Xr syslogd 8
120.Sh HISTORY
121The
122.Nm
123command appeared in
124.Bx 4.1 .