Date: Sat, 6 Dec 2008 21:26:43 -0800 (PST) From: Unga <unga888@yahoo.com> To: freebsd-acpi@freebsd.org Subject: shutdown does not power down Message-ID: <297791.94053.qm@web57005.mail.re3.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi I'm using RELENG_7 on i386. I noticed recently that "shutdown -p now" does not switch off the computer. I'm trying to understand how does the /sbin/shutdown performs a power down. I had a detailed look at the source code involved but find it difficult to see how. The program flow seems to be is as follows: shutdown => [/sbin/init or /sbin/halt] => reboot() => boot() => shutdown_final => shutdown_halt() => cpu_halt() Could you guys help me to identify how does shutdown request a power down. Many thanks in advance. Unga
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?297791.94053.qm>