shithub: riscv

ref: 37a8fc6168b3bf82df198fb20be5a8a53996187c
dir: /sys/src/cmd/cwfs/emelie/conf.c/

View raw version
/* emelie-specific configuration */

#include "all.h"

#ifndef	DATE
#define	DATE 1170808167L
#endif

Timet	fs_mktime = DATE;			/* set by mkfile */

Startsb	startsb[] = {
	"main",		SUPER_ADDR,
	"old",		SUPER_ADDR,
	nil,
};

void
localconfinit(void)
{
	conf.nfile = 40000;
//	conf.nodump = 0;
	conf.nodump = 1;		/* jukebox is r/o */
//	conf.firstsb = 13219302;	/* for main */
	conf.recovsb = 0;
	conf.nlgmsg = 100;
	conf.nsmmsg = 500;
}

int (*fsprotocol[])(Msgbuf*) = {
	serve9p2,
	nil,
};