From: Ben Gras Date: Tue, 3 May 2005 08:59:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~888 X-Git-Url: http://zhaoyanbai.com/repos/man.rndc.html?a=commitdiff_plain;h=0374afab5659afccdb3be9d893b97b1ad27da279;p=minix.git *** empty log message *** --- diff --git a/drivers/libdriver/drvlib.c b/drivers/libdriver/drvlib.c index 6115bc516..7a8e1135f 100644 --- a/drivers/libdriver/drvlib.c +++ b/drivers/libdriver/drvlib.c @@ -235,13 +235,14 @@ struct part_entry *table; /* four entries */ table[1].lowsec = table[0].size; table[1].size = ROOT_IMAGE_SECTORS; - /* XXX figure out real size */ + /* XXX figure out real size - give it 400MB for now */ table[2].lowsec = table[1].lowsec + table[1].size; - table[2].size = 500*1024*1024/SECTOR_SIZE; + table[2].size = 400*1024*1024/SECTOR_SIZE; table[0].sysind = table[1].sysind = table[2].sysind = MINIX_PART; table[3].sysind = NO_PART; + /* Read the partition table at 'offset'. */ return 1; }