From 441c4ce7c297d99fc92b47e9a4501fc1ae5520aa Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 22 Nov 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-11-22 --- boot/boot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boot/boot.c b/boot/boot.c index e8982930a71943e6d806ea6db80a9096f3f6930e..7bd3ad082e85bce00992f5262471156b5a27750d 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -58,6 +58,7 @@ boot(int argc, char *argv[]) open("#c/cons", OWRITE); open("#c/cons", OWRITE); bind("#c", "/dev", MAFTER); + bind("#e", "/env", MREPL|MCREATE); #ifdef DEBUG print("argc=%d\n", argc); @@ -187,7 +188,7 @@ findmethod(char *a) /* * ask user from whence cometh the root file system */ -Method* +static Method* rootserver(char *arg) { char prompt[256]; @@ -346,7 +347,7 @@ fail: exits(0); } -void +static void recover(Method *mp) { int fd, n;