From owner-freebsd-current Sat Aug 26 23:22:39 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA09913 for current-outgoing; Sat, 26 Aug 1995 23:22:39 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id XAA09906 for ; Sat, 26 Aug 1995 23:22:36 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA25903 for ; Sun, 27 Aug 1995 08:22:33 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA01612 for freebsd-current@freebsd.org; Sun, 27 Aug 1995 08:22:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id HAA21547 for freebsd-current@freebsd.org; Sun, 27 Aug 1995 07:41:33 +0200 From: J Wunsch Message-Id: <199508270541.HAA21547@uriah.heep.sax.de> Subject: Re: my Linux swap partition again To: freebsd-current@freebsd.org Date: Sun, 27 Aug 1995 07:41:33 +0200 (MET DST) Reply-To: freebsd-current@freebsd.org In-Reply-To: <199508262128.HAA17541@godzilla.zeta.org.au> from "Bruce Evans" at Aug 27, 95 07:28:28 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 768 Sender: current-owner@freebsd.org Precedence: bulk As Bruce Evans wrote: > > fdisk doesn't synchronize the changes with the kernel, so there are > problems if wd0s3 doesn't already exist or if you changed its size. This seems to be the problem. > wd0s3 must have existed for disklabel to get as far as the DIOCSDINFO > attempt, so perhaps you gave the wrong size to fdisk, or > is inconsistent. It's consistent. > The fdisk step shouldn't be necessary. Just write a label. It has been a slice type ``Linux swap'' previously. You mean, i don't have to convert it to 0xa5 in order to disklabel it? (That's all the mysterious fdisk crap did actually do.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)