diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-09-15 08:48:57 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-09-15 08:48:57 +0000 |
commit | 54f4610f987eacd54d58cfe1cb1e46afa472af76 (patch) | |
tree | 90b476a881e22f1d91e310d0531918f188e29102 /share | |
parent | dbf36c8a08a76bae16c65addc3f0073e0310897c (diff) | |
download | FreeBSD-src-54f4610f987eacd54d58cfe1cb1e46afa472af76.zip FreeBSD-src-54f4610f987eacd54d58cfe1cb1e46afa472af76.tar.gz |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/at_shutdown.9 | 12 |
1 files changed, 9 insertions, 3 deletions
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 |