Date: Tue, 26 Aug 2008 13:31:08 -0700 From: Chuck Swiger <cswiger@mac.com> To: Christopher Joyner <chris27wjoyner@gmail.com> Cc: questions@freebsd.org Subject: Re: souce code for the halt program. Message-ID: <5F2D94CE-5647-40EF-9478-CDDEB215B6E2@mac.com> In-Reply-To: <205066.44523.qm@web56705.mail.re3.yahoo.com> References: <205066.44523.qm@web56705.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi-- On Aug 26, 2008, at 12:47 PM, Christopher Joyner wrote: > How can I get the source code for the /sbin/halt program? > When I run that program, it causes my cpu fan to speed up. I want > to look at it, because > I believe I can fix that problem. halt is a hard link to reboot: % ident /sbin/halt /sbin/halt: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.10.1 2007/12/07 14:15:46 kib Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.14 2005/05/19 07:36:07 dfr Exp $ $FreeBSD: src/sbin/reboot/reboot.c,v 1.24.2.1 2006/08/25 12:55:50 bms Exp $ See /usr/src/sbin/reboot/reboot.c or http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/reboot/reboot.c -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F2D94CE-5647-40EF-9478-CDDEB215B6E2>