From: Ben Gras Date: Fri, 12 Aug 2005 13:31:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~344 X-Git-Url: http://zhaoyanbai.com/repos/named-checkconf.html?a=commitdiff_plain;h=695bcec49ef21717d7e525aa16a4b55951e94312;p=minix.git *** empty log message *** --- diff --git a/commands/ibm/autopart.c b/commands/ibm/autopart.c index 15885cfb7..5d9e7ee46 100755 --- a/commands/ibm/autopart.c +++ b/commands/ibm/autopart.c @@ -1757,6 +1757,12 @@ void regionize(void) /* Create region data used in autopart mode. */ free_regions = used_regions = nr_regions = nr_partitions = 0; + if(table[0].lowsec > table[sort_order[1]].lowsec && + table[sort_order[1]].sysind != NO_PART) { + printf("\nSanity check failed on %s - first partition starts before disk.\n" + "Please use expert mode to correct it.\n", curdev->name); + exit(1); + } for(si = 1; si <= NR_PARTITIONS; si++) { i = sort_order[si]; if(i < 1 || i > NR_PARTITIONS) { @@ -1783,8 +1789,8 @@ void regionize(void) if(autopartmode && si > 1) { if(table[i].lowsec < table[sort_order[si-1]].lowsec || table[i].lowsec < table[sort_order[si-1]].lowsec + table[sort_order[si-1]].size) { - printf("Sanity check failed - partitions overlap.\n" - "Please use expert mode to correct it.\n"); + printf("\nSanity check failed on %s - partitions overlap.\n" + "Please use expert mode to correct it.\n", curdev->name); exit(1); } } @@ -1800,7 +1806,7 @@ void regionize(void) } /* Special case: space after partitions. */ - if(free_sec < table[0].size-1) { + if(free_sec < table[0].lowsec + table[0].size-1) { regions[nr_regions].free_sec_start = free_sec; regions[nr_regions].free_sec_last = table[0].lowsec + table[0].size-1; regions[nr_regions].is_used_part = 0; diff --git a/etc/motd b/etc/motd index 0a7577196..87b58b53e 100755 --- a/etc/motd +++ b/etc/motd @@ -1,7 +1,8 @@ -MINIX 3 is still under development and may contain bugs and other -imperfections. If you would like to help develop MINIX 3 further into a -rock solid, reliable operating system, please go to the official Website: +Welcome. MINIX 3 is still under development and may contain bugs and +other imperfections. If you would like to help develop MINIX 3 further +into a rock solid, reliable operating system, please go to the official +Website: www.minix3.org @@ -13,4 +14,5 @@ For help with MINIX 3 and discussion about it, please subscribe to the newsgroup: comp.os.minix. MINIX 3 supports virtual terminals. Hit ALT+F2, ALT+F3 etc. to see them. +ALT+ and ALT+ walks through them. diff --git a/tools/release.sh b/tools/release.sh index f74b122e4..936fffa63 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -9,7 +9,7 @@ ISO=minix.iso ISOGZ=minix.iso.gz RAM=/dev/ram BS=4096 -USRMB=200 +USRMB=150 USRBLOCKS="`expr $USRMB \* 1024 \* 1024 / $BS`" ROOTMB=2 ROOTBLOCKS="`expr $ROOTMB \* 1024 \* 1024 / $BS`"