how to restart userland?

From: Tomas Szepe
Date: Mon Nov 03 2003 - 14:40:49 EST


Hi,

Would anyone know of a proven way to completely restart the userland
of a Linux system?

i.e. something like
# echo whatever-restart >/proc/wherever

Killing all processes.
Killing init.
Unmounting all filesystems.
VFS: Mounted root (ext2 filesystem).
INIT: v2.84 booting
...

Thanks for any pointers,
--
Tomas Szepe <szepe@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/