Re: Clear reboot?

Riley Williams (rhw@MemAlpha.CX)
Wed, 12 May 1999 01:17:44 +0100 (GMT)


Hi David.

> I have add some "feature" in the kernel to remote control it's
> reboot. When someone from a certain host trigger a certain port
> (like 24) for some times , the machine will reboot.

> I use machine_restart(NULL), But after reboot the ext2fs will
> have some bad inode or so. Is there any way to do sync before
> reboot ?

I've no idea why you'd want to do it that way, as it's simple enough
to just telnet in and type `reboot` to reset the thing...

I have my systems set up so I can log in as a specific non-root user
and the system reboots, or as a different user and the system shuts
down and powers off...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/