svrctl - special server control functions
int svrctl(u32_t request, void *data);
Svrctl allows root to control the kernel in various ways, or implements
some very Minix specific system calls that don't deserve their own system
This system call makes it easy to add new ways of setting and getting
kernel parameters, but at the same time, backwards compatibility is not
guaranteed. Read the <sys/svrctl.h> include file to see what the
struct's mentioned below look like. Most calls are root-only, unless
The only way to know how to properly use these calls is to study the
associated kernel or server code, or the programs that already use these
Current requests are:
Inform MM that the current process wants to become a server.
Instruct MM to mount a file or device as swapspace.
Tell MM to stop using swapspace.
Register a new device with FS.
Inform the kernel that the process want to become a server. The
processes task number is filled-in in a struct systaskinfo.
Request the value of one or all boot parameters. Can be used by
Svrctl returns 0 upon success and -1 upon failure.
Philip Homburg <email@example.com>