Changeset View
Changeset View
Standalone View
Standalone View
sbin/savecore/savecore.8
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
The | The | ||||
.Dq # | .Dq # | ||||
is the number from the first line of the file | is the number from the first line of the file | ||||
.Ar directory Ns Pa /bounds , | .Ar directory Ns Pa /bounds , | ||||
and it is incremented and stored back into the file each time | and it is incremented and stored back into the file each time | ||||
.Nm | .Nm | ||||
successfully runs. | successfully runs. | ||||
.Pp | .Pp | ||||
The | |||||
.Nm | |||||
utility | |||||
also checks the available disk space before attempting to make the copies. | |||||
If there is insufficient disk space in the file system containing | |||||
.Ar directory , | |||||
or if the file | |||||
.Ar directory Ns Pa /minfree | |||||
exists and the number of free kilobytes (for non-superusers) in the | |||||
file system 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 | If | ||||
.Nm | .Nm | ||||
successfully copies the kernel and the core dump, the core dump is cleared | successfully copies the kernel and the core dump, the core dump is cleared | ||||
so that future invocations of | so that future invocations of | ||||
.Nm | .Nm | ||||
will ignore it. | will ignore it. | ||||
.Pp | .Pp | ||||
The | The | ||||
Show All 13 Lines | |||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
utility appeared in | utility appeared in | ||||
.Bx 4.1 . | .Bx 4.1 . | ||||
.Pp | .Pp | ||||
Support for kernel textdumps appeared in | Support for kernel textdumps appeared in | ||||
.Fx 7.1 . | .Fx 7.1 . | ||||
.Sh BUGS | |||||
The minfree code does not consider the effect of compression or sparse files. |