Rebooting/Halting system from kernel module
geoffrey levand
geoffrey.levand at mail.ru
Mon Jan 23 07:17:04 UTC 2012
I'm implementing power button functionality on PS3.
I want FreeBSD to shutdown when i press the button like on Linux.
regards
23 января 2012, 07:26 от Andrew Davis <glneolistmail at gmail.com>:
> >do you want to sync the disks first? of just hard reset?
>
> Why would anyone ever want to do that, you're a kernel mod, if you want to
> do that just triple-fault.
>
> On Sun, Jan 22, 2012 at 9:32 PM, Julian Elischer <julian at freebsd.org> wrote:
>
> > On 1/22/12 2:19 AM, geoffrey levand wrote:
> >
> >> Hi,
> >>
> >> how would i reboot/halt the system from a kernel module ?
> >>
> >
> > the answer is "that depends"..
> >
> > do you want to sync the disks first? of just hard reset?
> >
> >
> >
> > ______________________________**_________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/**mailman/listinfo/freebsd-**hackers<http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@**
> > freebsd.org <freebsd-hackers-unsubscribe at freebsd.org>"
> >
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list