~kris/9p

9hist

a89620d991b38d3ca1187ca4cf46f4a844190203 — David du Colombier 31 years ago 110982a
Plan 9 from Bell Labs 1995-03-01
1 files changed, 15 insertions(+), 1 deletions(-)

M boot/boot.c
M boot/boot.c => boot/boot.c +15 -1
@@ 28,6 28,19 @@ static void	swapproc(void);
static void	recover(Method*);
static Method	*rootserver(char*);

static int
rconv(void *o, Fconv *fp)
{
	char s[ERRLEN];

	USED(o);

	s[0] = 0;
	errstr(s);
	strconv(s, fp);
	return 0;
}

void
boot(int argc, char *argv[])
{


@@ 39,6 52,8 @@ boot(int argc, char *argv[])

	sleep(1000);

	fmtinstall('r', rconv);

	open("#c/cons", OREAD);
	open("#c/cons", OWRITE);
	open("#c/cons", OWRITE);


@@ 179,7 194,6 @@ rootserver(char *arg)
	Method *mp;
	char *cp;
	int n;
	int notfirst;

	/* make list of methods */
	mp = method;