Re: souce code for the halt program.
On Tue, 26 Aug 2008 12:47:53 -0700 (PDT) Christopher Joyner <[EMAIL PROTECTED]> 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. Sure, you can look at it, but it comes at a rather high price: your eternal soul! > In Love in Jesus Christ, Or Lord and Savior. > > > For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting > life. --John 3:16 The halt program is the spawn of Satan! Abandon all hope! -- Let the human mind loose. It must be loose. It will be loose. Superstition and dogmatism cannot confine it. -- John Adams, U.S. President ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: souce code for the halt program.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: souce code for the halt program.
On Tue, Aug 26, 2008 at 12:47:53PM -0700, Christopher Joyner wrote: > How can I get the source code for the /sbin/halt program? Look at /usr/src/sbin/reboot/reboot.c. /sbin/reboot is linked to fasthalt, fastboot and halt. See /usr/src/sbin/reboot/Makefile I found this out like this: # ls -l /sbin/halt -r-xr-xr-x 4 root wheel 9016 May 23 19:59 /sbin/halt # find /sbin -size 9016c /sbin/reboot /sbin/fasthalt /sbin/fastboot /sbin/halt Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpbJuRQAcX30.pgp Description: PGP signature
souce code for the halt program.
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. In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"