From 54f4610f987eacd54d58cfe1cb1e46afa472af76 Mon Sep 17 00:00:00 2001 From: gibbs Date: Tue, 15 Sep 1998 08:48:57 +0000 Subject: Add a new at_shutdown queue, SHUTDOWN_FINAL. This queue is run at splhigh() after any system dumps have completed. SHUTDOWN_POST_SYNC isn't quite late enough for disk controllers. --- share/man/man9/at_shutdown.9 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/man9/at_shutdown.9 b/share/man/man9/at_shutdown.9 index 0f1bdca..fb03dbe 100644 --- a/share/man/man9/at_shutdown.9 +++ b/share/man/man9/at_shutdown.9 @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: at_shutdown.9,v 1.10 1997/04/13 14:49:03 bde Exp $ +.\" $Id: at_shutdown.9,v 1.11 1998/03/12 07:31:16 charnier Exp $ .\" " .Dd August 15, 1996 .Os @@ -61,16 +61,22 @@ and .Fa arg arguments as the corresponding call to .Fn at_shutdown . -There are two shutdown queues, one run before the final sync and one after. +There are three shutdown queues, the first is run before the final filesystems +sync, the second is run after the sync, before the system disables all +interrupts, and the last queue is run with interrupts disabled just before +the system is reset or halted +. The last argument to .Fa at_shutdown should be one of .Dv SHUTDOWN_PRE_SYNC or .Dv SHUTDOWN_POST_SYNC +or +.Dv SHUTDOWN_FINAL to specify which queue should be used. .Fn rm_at_shutdown -will remove an entry from either queue. +will remove entries from any queue. .Pp .Sh RETURN VALUES .Fn at_shutdown -- cgit v1.1