From owner-freebsd-hackers Thu Jul 11 16:37:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA14252 for hackers-outgoing; Thu, 11 Jul 1996 16:37:23 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA14243 for ; Thu, 11 Jul 1996 16:37:14 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id JAA19841; Fri, 12 Jul 1996 09:33:33 +1000 Date: Fri, 12 Jul 1996 09:33:33 +1000 From: Bruce Evans Message-Id: <199607112333.JAA19841@godzilla.zeta.org.au> To: graichen@axp5.physik.fu-berlin.de, hackers@FreeBSD.ORG Subject: Re: swapon problems Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >i'm currently in the process of setting up a machine for running -current here >and run into a problem with swapon Please report problems in -current to the current mailing list. -hackers is too noisy. >and added other disks and swap partitions too - after that i did a "swapon -a" >and got my swap partition again one time as wd0s1b and the second time as wd0b >- with my swapspace doubled (but i was'nt happy because after starting to >think about what would happend if the system will write to that second >swappartition - which is identical with the first ... - half an our later the >system died by a memory fault :-( ) >the result is: swapon should check if the requested partition is not >physically there (at the moment it seems to look only after the name) and say It is physically there. wd0s1b is physically identical with wd0b. >"no" if i want to add the same partition under another name - can someone who >cares for swapon please add such a check there (i will have time for actively >working on FreeBSD myself earliest in september) swapon() checks but is confused by the alias. This problem is not only in -current :-(. Fix: don't do this. Aliases can be created in other ways, e.g., by duplicating wd0b to wd0h in the label. >p.s.: is there a way to restart a make world so that it will go on there it >stopped ( ... or crashed :-) without doing all from the beginning again ? 1. Usually don't use `make world'. 2. If you are using `make world' and it got through the bootstrap stages, then don't use it the next time. Just use `make' and `su; make install'. Bruce