Init

Init process for user space environment configuration. More...

Files

file  init.c
file  init.h

Defines

#define APP_GETTERM   "/app/getterm"
#define DATA_DEVICE   "bd/ata1disk0"
#define DATA_FS_TYPE   "fat"
#define DATA_MOUNT_POINT   "/data"
#define DEVFS_FS_TYPE   "devfs"
#define DEVFS_MOUNT_POINT   "/dev"
#define NAME   "init"
#define ROOT_DEVICE   "bd/initrd"
#define ROOT_MOUNT_POINT   "/"
#define SRV_CONSOLE   "/srv/console"
#define TMPFS_FS_TYPE   "tmpfs"
#define TMPFS_MOUNT_POINT   "/tmp"

Functions

static void console (const char *dev)
static void getterm (const char *dev, const char *app, bool wmsg)
static void info_print (void)
int main (int argc, char *argv[])
static bool mount_data (void)
static bool mount_devfs (void)
static bool mount_report (const char *desc, const char *mntpt, const char *fstype, const char *dev, int rc)
static bool mount_root (const char *fstype)
static bool mount_tmpfs (void)
static void spawn (const char *fname)
static void srv_start (const char *fname)

Detailed Description

Init process for user space environment configuration.


Generated on Thu Jun 2 07:45:56 2011 for HelenOS/USB by  doxygen 1.4.7