Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 06:34:31 -0500
From:      Suleiman Souhlal <ssouhlal@FreeBSD.org>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: Severe gbde problem 
Message-ID:  <A62D7638-388C-11D9-B879-000A95C4D7BC@FreeBSD.org>
In-Reply-To: <20023.1100673074@critter.freebsd.dk>
References:  <20023.1100673074@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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?


[-- Attachment #2 --]
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.

[-- Attachment #3 --]


--
Suleiman Souhlal     | ssouhlal@vt.edu
The FreeBSD Project  | ssouhlal@FreeBSD.org

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A62D7638-388C-11D9-B879-000A95C4D7BC>