From owner-freebsd-current@FreeBSD.ORG Mon May 5 06:22:11 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ABCC37B401 for ; Mon, 5 May 2003 06:22:11 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id B80A043FA3 for ; Mon, 5 May 2003 06:22:10 -0700 (PDT) (envelope-from wa1ter@myrealbox.com) Received: from myrealbox.com wa1ter@smtp-send.myrealbox.com [64.175.105.23] $ on Novell NetWare via secured & encrypted transport (TLS); Mon, 05 May 2003 06:22:15 -0700 Message-ID: <3EB67397.1010109@myrealbox.com> Date: Mon, 05 May 2003 07:22:15 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp , freebsd-current@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bsdlabel question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 13:22:11 -0000 Poul-Henning Kamp wrote: > In message <3EB5FC94.7070901@myrealbox.com>, walt writes: > >>Poul-Henning Kamp wrote: >> >>>In message <31649.1052067538@critter.freebsd.dk>, "Poul-Henning Kamp" writes: >>> >>> >>>>In message <3EB50F10.3010001@myrealbox.com>, walt writes: >>>> >>>> >>>>>Hi Poul-Henning, >>>>> >>>>>#bsdlabel ad0s3 >>>>># /dev/ad0s3: >>>>>8 partitions: >>>>># size offset fstype [fsize bsize bps/cpg] >>>>> a: 15321596 140974726 4.2BSD 0 0 0 >>>>> b: 1048576 139926150 swap >>>>> c: 16370235 139926150 unused 0 0 # "raw" part, don't edit >>>> >>>>Ahh, good point, forgot about that. Will fix. >>> >>> >>>OK, fixed now. >> >>I find that I now have the same problem that Martin had -- >>'cannot mount root:5' > If you cannot mount root, you may want to comment out this > check in sys/geom/geom_bsd.c: > > if ((off_t)rawoffset * secsize != ms->mbroffset) > rawoffset = 0; Okay, root mounts again, thanks. I'm still seeing all the same warnings with bsdlabel, though: #bsdlabel ad1s3 # /dev/ad1s3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 15321596 140974726 4.2BSD 0 0 0 b: 1048576 139926150 swap c: 16370235 139926150 unused 0 0 # "raw" part, don't edit partition a: offset past end of unit partition a: partition extends past end of unit partition b: offset past end of unit partition b: partition extends past end of unit partition c: offset past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities