]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Tue, 3 May 2005 08:59:28 +0000 (08:59 +0000)
committerBen Gras <ben@minix3.org>
Tue, 3 May 2005 08:59:28 +0000 (08:59 +0000)
drivers/libdriver/drvlib.c

index 6115bc516f07a4aba0815a28d645388a641991a4..7a8e1135feb9c0b5abfde340c89b10ccc2b8127d 100644 (file)
@@ -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;
 }