|
Lines 81-98
Link Here
|
| 81 |
.Pp |
81 |
.Pp |
| 82 |
The |
82 |
The |
| 83 |
.Nm |
83 |
.Nm |
| 84 |
program operates by setting the |
84 |
program operates by opening the designated |
| 85 |
.Xr sysctl 3 |
|
|
| 86 |
MIB variable |
| 87 |
.Dq kern.dumpdev |
| 88 |
to the device number of the designated |
| 89 |
.Ar special_file |
85 |
.Ar special_file |
| 90 |
or to |
86 |
and doing an |
| 91 |
.Dv NODEV |
87 |
.Xr ioctl 2 |
| 92 |
(meaning that no dumps are to be taken) if |
88 |
request, |
|
|
89 |
.Dv DIOCSKERNELDUMP , |
| 90 |
telling the kernel to use that device for saving dumps. |
| 91 |
If |
| 93 |
.Ar special_file |
92 |
.Ar special_file |
| 94 |
is the text string: |
93 |
is the text string: |
| 95 |
.Dq Li off . |
94 |
.Dq Li off , |
|
|
95 |
dumpon opens |
| 96 |
.Pa /dev/null , |
| 97 |
telling the kernel not to save crash dumps. |
| 96 |
.Pp |
98 |
.Pp |
| 97 |
Since |
99 |
Since |
| 98 |
.Nm |
100 |
.Nm |