From owner-freebsd-mobile Mon Nov 12 22:21:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from geographos.astro.washington.edu (geographos.astro.washington.edu [128.95.99.27]) by hub.freebsd.org (Postfix) with ESMTP id 7EA6037B416 for ; Mon, 12 Nov 2001 22:21:34 -0800 (PST) Received: from localhost (kopts@localhost) by geographos.astro.washington.edu (8.11.6/8.11.6) with ESMTP id fAD6LYG18381 for ; Mon, 12 Nov 2001 22:21:34 -0800 X-Authentication-Warning: geographos.astro.washington.edu: kopts owned process doing -bs Date: Mon, 12 Nov 2001 22:21:34 -0800 (PST) From: Alexey Koptsevich To: Subject: swapping partitions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Now I have /dev/ad0s1 DOS partition and /dev/ad0s2 -- partition intended for suspend-to-disk. Since s2d does not work in this configuration I would like to try to move s2d partition first. Can I do it in the following way: dd if=/dev/ad0s1 of=/tmp/somefile swap two first partitions in sense of size dd if=/tmp/somefile of=/dev/ad0s2 Will it work afterwards, or I have to make any additional changes? Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message