Cleaned up some statements.
Added cross references to related pages.
This commit is contained in:
parent
9fff07817c
commit
f69a99ee74
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: panic.9,v 1.4 1998/02/06 06:16:23 perry Exp $
|
.\" $NetBSD: panic.9,v 1.5 1998/09/03 01:05:03 jeremy Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1996 Michael Graff.
|
.\" Copyright (c) 1996 Michael Graff.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -45,24 +45,30 @@ The
|
||||||
.Fn panic
|
.Fn panic
|
||||||
function terminates the
|
function terminates the
|
||||||
.Nx
|
.Nx
|
||||||
system. The message
|
system.
|
||||||
|
The message
|
||||||
.Fa fmt
|
.Fa fmt
|
||||||
is a
|
is a
|
||||||
.Xr printf 3
|
.Xr printf 3
|
||||||
style format string. The message is printed to the console and the location
|
style format string which is printed to the console and saved in the
|
||||||
.Fa panicstr
|
variable
|
||||||
is set to the address of the message text for retrival from the OS
|
.Va panicstr
|
||||||
core dump.
|
for later retrival via core dump inspection.
|
||||||
.Pp
|
.Pp
|
||||||
If the kernel debugger is installed control is passed to it, otherwise
|
If a kernel debugger is installed, control is passed to it after the
|
||||||
an attempt to save a core dump of the OS to a configured dump device
|
message is printed.
|
||||||
is made.
|
Otherwise an attempt is made to save an image of system memory on the
|
||||||
|
dump device that was configured at the time the kernel was compiled.
|
||||||
.Pp
|
.Pp
|
||||||
If
|
If during the process of handling the panic,
|
||||||
.Fn panic
|
.Fn panic
|
||||||
is called twice (from the disk sync routines, for example) the system is
|
is called again
|
||||||
rebooted without syncing the disks.
|
.Pq "from the filesystem synchronization routines, for example" ,
|
||||||
|
the system is rebooted immediately without synchronizing any filesystems.
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Fn panic
|
.Fn panic
|
||||||
function does not return.
|
function does not return.
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr options 4 ,
|
||||||
|
.Xr savecore 8 .
|
||||||
|
|
Loading…
Reference in New Issue