shithub: riscv

ref: 37b86df09ff381bcc4f60802d43e57bd9bfcac73
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,
};