shithub: riscv

ref: 578af37678b2ea16e29d950cbc352823cd2491ab
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,
};