From owner-freebsd-hackers Fri Feb 6 18:28:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17808 for hackers-outgoing; Fri, 6 Feb 1998 18:28:25 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA17762 for ; Fri, 6 Feb 1998 18:28:19 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id SAA03372; Fri, 6 Feb 1998 18:28:19 -0800 (PST) Message-Id: <199802070228.SAA03372@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: LESLIE ZHU cc: hackers@FreeBSD.ORG Subject: Re: Interrupt and Poll in FreeBSD In-reply-to: Your message of "Thu, 05 Feb 1998 20:26:29." <19980206032629.17520.qmail@www07.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Feb 1998 18:28:18 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" It would probably have been better to stick to just one mailing list. -hackers is the most appropriate for this. > Now suppose I polled after power on my FreeBSD box until I > take a interrupt to execute the instruction "halt" or "reboot". > How can I do it? Please answer the question more detail. Thank > you for your help. You will have to state the question in more detail, I'm afraid. When you say "poll after power", do you mean that you wish to monitor the status of some power source? If so, which power source? How do you wish to monitor it? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com