Hello. I'm using a PC running with RHEL3. /sbin/poweroff can't power off with the RHEL3's kernel. But /sbin/poweroff can power off with the vanilla kernels. I have vmlinuz (based on vanilla kernels) and initrd.img that performs only "power off". So, I want to try sys_reboot(LINUX_REBOOT_CMD_RESTART2) . http://lxr.linux.no/source/kernel/sys.c#L422 Can somebody show me an example value of arg parameter? Is it possible to specify vmlinuz's and initrd.img's path? If LINUX_REBOOT_CMD_RESTART2 can reload vmlinuz and initrd.img, I can reboot with "power off" vmlinuz and initrd.img to power off the PC running with the RHEL3's kernel. Regards. -- Tetsuo Handa -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/