From owner-freebsd-current@FreeBSD.ORG Tue Feb 21 18:14:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 E520E16A420 for ; Tue, 21 Feb 2006 18:14:26 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F90B43D48 for ; Tue, 21 Feb 2006 18:14:26 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from virusscan.mail (amavis2.rz.uni-wuerzburg.de [132.187.3.47]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 58156146A2F; Tue, 21 Feb 2006 19:14:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 495E113E4; Tue, 21 Feb 2006 19:14:25 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1B7CE146A2F; Tue, 21 Feb 2006 19:14:25 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id k1LIEOT1002768; Tue, 21 Feb 2006 19:14:24 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id k1LIEOf9066327; Tue, 21 Feb 2006 19:14:24 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id k1LIEOnr007451; Tue, 21 Feb 2006 19:14:24 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id k1LIEJLH007450; Tue, 21 Feb 2006 19:14:19 +0100 (CET) (envelope-from q@galgenberg.net) Date: Tue, 21 Feb 2006 19:14:19 +0100 From: Ulrich Spoerlein To: Balgansuren Batsukh Message-ID: <20060221181419.GC2996@galgenberg.net> Mail-Followup-To: Balgansuren Batsukh , freebsd-current@freebsd.org References: <00c101c636d3$938823d0$0201000a@JACK> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JwB53PgKC5A7+0Ej" Content-Disposition: inline In-Reply-To: <00c101c636d3$938823d0$0201000a@JACK> X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: partition for GELI disk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 21 Feb 2006 18:14:27 -0000 --JwB53PgKC5A7+0Ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Balgansuren Batsukh wrote: > Hello, >=20 > 1.I get to work vi and trying to make label on disk. >=20 > I did following using bsdlabel -e /dev/ad0.eli >=20 > # /dev/ad0.eli: >=20 > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > --->/ a: 1G 16 4.2BSD 2048 16384 > b: 384M * swap > c: 156301487 0 unused 0 0 > --->/tmp d: 8G * 4.2BSD > --->/usr e: 15G * 4.2BSD > ---->/var f: * * 4.2BSD >=20 > My laptop with 80GB hard disk, but fdisk inform 76319MB. In above disklab= el,=20 > I try to use entire hard disk, but I get "partition f: partition extends= =20 > past end of unit" message when try to write it. How can I inform bsdlabel= to=20 > determine correct end of geometry? The problem is known (at least) to me. The last '*' will expand to the complete remaining size of the disk, not taking the offset '16' for partition 'a' into account. So either change the offset of 'a' to '0' (why is there such an offset anyway?) or calculate it by hand. I think a commit in CURRENT fixed that behaviour, but I can't remember right now. Wich version of FreeBSD are you trying to install? Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --JwB53PgKC5A7+0Ej Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+1h7524iJyD+6d0RArBxAJ9714UV5k9CVG2ZX+m7Mw0aWITD8wCgkUrJ zquYM218vZG2OniM9LpC7i0= =ny+D -----END PGP SIGNATURE----- --JwB53PgKC5A7+0Ej--