From owner-freebsd-geom@FreeBSD.ORG Wed Nov 17 11:34:45 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C51C516A4CE for ; Wed, 17 Nov 2004 11:34:45 +0000 (GMT) Received: from server1.astraldream.net (astraldream.net [69.20.5.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612EE43D1F for ; Wed, 17 Nov 2004 11:34:45 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.1.12] (63-170-138-118.cst-sg.blacksburg.ntc-com.net [63.170.138.118]) (authenticated (0 bits)) by server1.astraldream.net (8.11.6/8.11.6) with ESMTP id iAHBYdX22654 (using TLSv1/SSLv3 with cipher RC4-SHA (128 bits) verified NO); Wed, 17 Nov 2004 06:34:44 -0500 In-Reply-To: <20023.1100673074@critter.freebsd.dk> References: <20023.1100673074@critter.freebsd.dk> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/mixed; boundary=Apple-Mail-3--22496007 Message-Id: From: Suleiman Souhlal Date: Wed, 17 Nov 2004 06:34:31 -0500 To: "Poul-Henning Kamp" X-Mailer: Apple Mail (2.619) cc: freebsd-geom@FreeBSD.org Subject: Re: Severe gbde problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 11:34:45 -0000 --Apple-Mail-3--22496007 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello, On Nov 17, 2004, at 1:31 AM, Poul-Henning Kamp wrote: > Do not put your swap partition over the first 16 sectors of the disk, > those sectors contain bootcode. Don't you mean "do not put gbde partitions over the first 16 sectors of the disk"? I'm pretty sure any gbde partition would eventually overwrite the first 16 sectors. If so, shouldn't we mention this in gbde(8), as proposed in the following patch? --Apple-Mail-3--22496007 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="gbde.8.diff" Content-Disposition: attachment; filename=gbde.8.diff Index: /home/refugee/freebsd/src/sbin/gbde/gbde.8 =================================================================== --- src/sbin/gbde/gbde.8 (revision 48) +++ /home/refugee/freebsd/src/sbin/gbde/gbde.8 (working copy) @@ -213,3 +213,8 @@ .Sh BUGS The cryptographic algorithms and the overall design have not been attacked mercilessly for over 10 years by a gang of cryptoanalysts. +.Pp +.Nm +should not be used on partitions at the beginning of the disk, as it might +overwrite the first 16 sectors, which contain bootcode, rendering the disk +unbootable. --Apple-Mail-3--22496007 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed -- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org --Apple-Mail-3--22496007--