From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 13:00:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDD6D16A4CE for ; Tue, 17 Aug 2004 13:00:36 +0000 (GMT) Received: from mail.u4eatech.com (blackhole.u4eatech.com [195.188.241.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274C743D45 for ; Tue, 17 Aug 2004 13:00:36 +0000 (GMT) (envelope-from richard.williamson@u4eatech.com) Received: by mail.u4eatech.com (Postfix, from userid 503) id 6EE9936012E; Tue, 17 Aug 2004 14:00:35 +0100 (BST) Received: from apus.u4eatech.com (apus.degree2.com [172.30.40.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.u4eatech.com (Postfix) with ESMTP id 76678360123 for ; Tue, 17 Aug 2004 14:00:32 +0100 (BST) Message-Id: <6.1.2.0.2.20040817135901.02705d88@cygnus> X-Sender: richard@cygnus X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Tue, 17 Aug 2004 14:04:20 +0100 To: freebsd-questions@freebsd.org From: "Richard P. Williamson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on mail X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 Subject: vnconfig and a compact flash disk image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 13:00:36 -0000 Hello, 4.10-RELEASE I've got an image of a 32mb compact flash card that I created by dd if=/dev/ad3 of=./sanDisk.32Mb.image Now, I want to mount that image and check it for validity, edit it, etc, and then get it back onto the flash card. I've already worked out how to get it back onto a compact flash card (dd, or if it is gzipped, then zcat). But how can I mount it? The format is a 28Mb slice (a) and a 4Mb slice (e). I've tried vnconfig vn0 sanDisk.32Mb.image and vnconfig vn0a sanDisk.32Mb.image but fdisk tells me 'invalid superblock' when pointed at /dev/vn0[a]. How can I mount the two slices on different mount points? Can I do this at all? TIA, rip