From owner-freebsd-hackers Thu Jul 11 13:40:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02979 for hackers-outgoing; Thu, 11 Jul 1996 13:40:20 -0700 (PDT) Received: from axp5.physik.fu-berlin.de (axp5.fddi5B.fu-berlin.de [160.45.5.75]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA02888 for ; Thu, 11 Jul 1996 13:40:00 -0700 (PDT) Received: from titania.physik.fu-berlin.de (titania.physik.fu-berlin.de [160.45.33.86]) by axp5.physik.fu-berlin.de (8.7.1/8.7.1) with ESMTP id WAA07517 for ; Thu, 11 Jul 1996 22:39:20 +0200 (MET DST) Received: (from graichen@localhost) by mordillo (8.6.12/8.6.12) id WAA01306 for hackers@freebsd.org; Thu, 11 Jul 1996 22:16:33 +0200 From: Thomas Graichen Message-Id: <199607112016.WAA01306@mordillo> Subject: swapon problems To: hackers@freebsd.org Date: Thu, 11 Jul 1996 22:16:32 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text 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 i installed the 2.2 snap from the march cd - rebooted it - started a make world after ctm -v -v, cvs co src, etc. and began to edit /etc/* to fit my suits - one of the things i changed there was the swapdevice from wd0s1b to wd0b (i only have FreeBSD on my machine - so i don't need the slice stuff :-) 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 "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) t 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 ? -- thomas graichen graichen@mail.physik.fu-berlin.de graichen@FreeBSD.org perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away antoine de saint-exupery