Introducing a poweroff(8) command

From: Giorgos Keramidas (keramida_at_freebsd.org)
Date: 08/21/04

  • Next message: Giorgos Keramidas: "Re: Introducing a poweroff(8) command"
    Date: Sat, 21 Aug 2004 22:16:59 +0300
    To: freebsd-arch@freebsd.org
    
    

    Hi guys,

    In response to PR misc/70476 about `halt -p' I wrote a simple patch to
    introduce a "poweroff" command that will default to "halt -p" behavior
    and inhibit the need for changing the default behavior of halt(8).

    o Does this look ok to you all?

    o Should I suggest using it as a workaround of the behavior
            described in the PR?

    The attached patch also fixes a bug described in PR bin/70536 (which I
    have submitted after looking around at the source code of reboot.c) but
    I can make these two separate diffs if we think it's worth it.

    === References ===
    http://www.FreeBSD.org/cgi/query-pr.cgi?pr=misc/70476
    http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/70536
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Giorgos Keramidas: "Re: Introducing a poweroff(8) command"

    Relevant Pages

    • 2.6.10-as5
      ... Lots of security fixes in here; it's probably a good idea to upgrade. ... Patch stolen from ubuntu. ... skb header corruption. ... struct, when it should be using a compat_cmsghdr struct, instead. ...
      (Linux-Kernel)
    • RE: [Full-Disclosure] 3 new MS patches next week... but none fix
      ... MS does beta test fixes, some companies could be on that beta test program. ... If the company had a real patch that they developed from detailed purchased ... something they called "virtual patches", which he was quite smug about. ...
      (Full-Disclosure)
    • Re: Fixes for nforce2 hard lockup, apic, io-apic, udma133 covered
      ... Trying to get a grasp on the all the fixes floating around. ... So the consensus seems to be that Ross's timer patch and the ... and one with those fixes and Maciej's acpi fixes below. ...
      (Linux-Kernel)
    • Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er
      ... Fix for DesignWare APB THRE errata: ... > fixes it so we have dropped our initial workaround. ... > This patch now needs to be applied on top of that "mm" patch. ...
      (Linux-Kernel)
    • [ANNOUNCE] Linux 2.4.32-hf32.2
      ... wan sdla: fix probable security hole ... The following patch fixes a race condition that allows local users to ... Multicast source filters aren't widely used yet, ...
      (Linux-Kernel)

  • Quantcast