From owner-freebsd-hackers Wed May 24 15:36:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.234]) by hub.freebsd.org (Postfix) with ESMTP id E41D937BD99 for ; Wed, 24 May 2000 15:36:52 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id PAA01632; Wed, 24 May 2000 15:38:14 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200005242238.PAA01632@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dennis Cc: hackers@freebsd.org Subject: Re: shutdownhook_establish() In-reply-to: Your message of "Wed, 24 May 2000 15:57:16 EDT." <200005241956.PAA11193@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 May 2000 15:38:14 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I see references to this routing (apparently replacing at_shutdown() in > v4.0) but compiling it into a driver results in an unresolved reference. I > also dont see it in any of the include files. > > How can this be used, and where does it live? Use EVENTHANDLER_REGISTER; see sys/kern/kern_shutdown.c for examples. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message