#include <stdio.h>#include <unistd.h>#include <vfs/vfs.h>#include <bool.h>#include <errno.h>#include <fcntl.h>#include <sys/stat.h>#include <task.h>#include <malloc.h>#include <macros.h>#include <str.h>#include <devmap.h>#include <str_error.h>#include "init.h"Go to the source code of this file.
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 | 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) |
Definition in file init.c.
1.4.7