fsck: broken file system with background check remains broken after bootup

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Tue Jan 4 20:29:00 PST 2005


    0n Tue, Jan 04, 2005 at 10:17:47PM -0600, Craig Boston wrote: 

    >On Tuesday 04 January 2005 9:57 pm, Wilkinson, Alex wrote:
    >> How can I confirm that ACPI has been setup to do this ?
    >
    >Hmm, well, the easiest thing to check is to run
    >
    >sysctl hw.acpi.power_button_state
    >
    >and see if that sysctl exists and if so, what it's set to (mine is S5, which 
    >IIRC is complete power-off).  Also, check dmesg and see if you see a line 
    >similar to
    >
    >acpi_button0: <Power Button> on acpi0
    >
    >If both of those show up, chances are that your ASL has a power button entry 
    >and it should do the right thing.  Other than that, you could always wait 
    >until the system is idle and just try hitting the button to see what 
    >happens ;)

Cool, thanks:

#sysctl hw.acpi.power_button_state
hw.acpi.power_button_state: S5

#grep acpi_button /var/run/dmesg.boot 
acpi_button0: <Power Button> on acpi0

 - aW


More information about the freebsd-stable mailing list