The latest and greatest. init basically works, though needs

a minor inittab design change to accomodate specifying the device
to run each process on.
 -Erik
This commit is contained in:
Erik Andersen
2000-01-05 09:34:26 +00:00
parent f4a99cc02c
commit 0881de706e
9 changed files with 103 additions and 115 deletions

View File

@ -115,6 +115,18 @@ do_mount(char* specialfile, char* dir, char* filesystemtype,
#endif
#if defined BB_MTAB
#define whine_if_fstab_is_missing() {}
#else
extern void whine_if_fstab_is_missing()
{
struct stat statBuf;
if (stat("/etc/fstab", &statBuf) < 0)
fprintf(stderr, "/etc/fstab file missing -- install one to name /dev/root.\n\n");
}
#endif
/* Seperate standard mount options from the nonstandard string options */
static void
parse_mount_options ( char *options, unsigned long *flags, char *strflags)