shithub: riscv

ref: 07a776fad9c93ecc8b0635a9d96107b729ca0469
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*) = {
	serve9p1,
	serve9p2,
	nil,
};