From owner-freebsd-questions Fri Apr 19 15:43:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10401.mail.yahoo.com (web10401.mail.yahoo.com [216.136.130.93]) by hub.freebsd.org (Postfix) with SMTP id B3F7537B416 for ; Fri, 19 Apr 2002 15:43:47 -0700 (PDT) Message-ID: <20020419224347.81668.qmail@web10401.mail.yahoo.com> Received: from [62.31.224.3] by web10401.mail.yahoo.com via HTTP; Fri, 19 Apr 2002 23:43:47 BST Date: Fri, 19 Apr 2002 23:43:47 +0100 (BST) From: =?iso-8859-1?q?Ryan=20Baldwin?= Subject: Describing geometry of disk image file to FreeBsd To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to mount a ext2fs file system on the first partition of a disk image file. The problem is that when I use vnconfig to configure the image file as a 'virtual node/device?' I dont seem to be able to describe the geometry. It seems that with NetBsd I could say: vnconfig vn0 ./theimage.img xxx/xxx/xxx/xxx where 'xxx/xxx/xxx/xxx' would describe the geometry. It seems that although on FreeBsd this causes no errors the geometry I supply appears to be ignored ignored( fdisk on vn0 reports incorrect values ). I have spent the last couple of my evenings searching for any explantation of how this is done under FreeBsd but cant seem to find any clear explanation. The man pages for NetBsd seem to be a lot clearer on this particular subject. Any sugestions would be greatly appreciated. Ryan __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message