Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man5/rc.conf.5
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd February 26, 2017 | .Dd October 24, 2017 | ||||
.Dt RC.CONF 5 | .Dt RC.CONF 5 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm rc.conf | .Nm rc.conf | ||||
.Nd system configuration information | .Nd system configuration information | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The file | The file | ||||
.Nm | .Nm | ||||
▲ Show 20 Lines • Show All 3,339 Lines • ▼ Show 20 Lines | |||||
.Dq Li AUTO , | .Dq Li AUTO , | ||||
the first suitable swap device listed in | the first suitable swap device listed in | ||||
.Pa /etc/fstab | .Pa /etc/fstab | ||||
will be used as dump device. | will be used as dump device. | ||||
Otherwise, the value of this variable is passed as the argument to | Otherwise, the value of this variable is passed as the argument to | ||||
.Xr dumpon 8 . | .Xr dumpon 8 . | ||||
To disable crash dumps, set this variable to | To disable crash dumps, set this variable to | ||||
.Dq Li NO . | .Dq Li NO . | ||||
.It Va dumpon_flags | |||||
.Pq Vt str | |||||
Flags to pass to | |||||
.Xr dumpon 8 | |||||
when configuring | |||||
.Va dumpdev | |||||
as the system dump device. | |||||
.It Va dumpdir | .It Va dumpdir | ||||
.Pq Vt str | .Pq Vt str | ||||
When the system reboots after a crash and a crash dump is found on the | When the system reboots after a crash and a crash dump is found on the | ||||
device specified by the | device specified by the | ||||
.Va dumpdev | .Va dumpdev | ||||
variable, | variable, | ||||
.Xr savecore 8 | .Xr savecore 8 | ||||
will save that crash dump and a copy of the kernel to the directory | will save that crash dump and a copy of the kernel to the directory | ||||
specified by the | specified by the | ||||
.Va dumpdir | .Va dumpdir | ||||
variable. | variable. | ||||
The default value is | The default value is | ||||
.Pa /var/crash . | .Pa /var/crash . | ||||
Set to | Set to | ||||
.Dq Li NO | .Dq Li NO | ||||
to not run | to not run | ||||
.Xr savecore 8 | .Xr savecore 8 | ||||
at boot time when | at boot time when | ||||
.Va dumpdir | .Va dumpdir | ||||
is set. | is set. | ||||
.It Va dumppubkey | |||||
.Pq Vt str | |||||
Path to a public key. | |||||
It is used by | |||||
.Xr dumpon 8 | |||||
to encrypt a one-time key for a crash dump. | |||||
The public key has to match a private key used by | |||||
.Xr decryptcore 8 | |||||
to decrypt a crash dump after reboot. | |||||
See | |||||
.Xr dumpon 8 | |||||
for more details. | |||||
.It Va savecore_enable | .It Va savecore_enable | ||||
.Pq Vt bool | .Pq Vt bool | ||||
If set to | If set to | ||||
.Dq Li NO , | .Dq Li NO , | ||||
disable automatic extraction of the crash dump from the | disable automatic extraction of the crash dump from the | ||||
.Va dumpdev . | .Va dumpdev . | ||||
.It Va savecore_flags | .It Va savecore_flags | ||||
.Pq Vt str | .Pq Vt str | ||||
▲ Show 20 Lines • Show All 1,136 Lines • Show Last 20 Lines |