From owner-freebsd-questions Fri Apr 19 15:52:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10405.mail.yahoo.com (web10405.mail.yahoo.com [216.136.130.97]) by hub.freebsd.org (Postfix) with SMTP id 6C13037B41A for ; Fri, 19 Apr 2002 15:52:32 -0700 (PDT) Message-ID: <20020419225232.37805.qmail@web10405.mail.yahoo.com> Received: from [62.31.224.3] by web10405.mail.yahoo.com via HTTP; Fri, 19 Apr 2002 23:52:32 BST Date: Fri, 19 Apr 2002 23:52:32 +0100 (BST) From: =?iso-8859-1?q?Ryan=20Baldwin?= Subject: Re: Describing geometry of disk image file to FreeBsd To: Ryan Baldwin Cc: freebsd-questions@FreeBSD.org In-Reply-To: <20020419224347.81668.qmail@web10401.mail.yahoo.com> 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 Alas, this time round it seems to have worked. fdisk reports the geometry I supplied. Saddly mount -t ext2fs /dev/vn0s1 ./mnt reports ext2fs: /dev/vn0s1 Operation not permited (Sigh) I suppose the 'excitement' never ends. > --- Ryan Baldwin wrote: > >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 __________________________________________________ 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