Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
No, no hard reset but graceful shutdown/reboot. regards 23 января 2012, 06:31 от Julian Elischer : > 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?

Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
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 : > >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 yo

Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
Thanks for the example. regards 23 января 2012, 09:41 от "Daniel O'Connor" : > > On 23/01/2012, at 13:33, Andrew Davis wrote: > > >> 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 trip

Re[2]: Rebooting/Halting system from kernel module

2012-01-22 Thread geoffrey levand
Thanks. shutdown_nice is working great. regards 22 января 2012, 21:07 от Ian Lepore : > On Sun, 2012-01-22 at 14:19 +0400, geoffrey levand wrote: > > Hi, > > > > how would i reboot/halt the system from a kernel module ? > > > > regards > > > > -- > > Почта@Mail.Ru в твоем мобильном! > > Просто