Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 12:57:05 -0800
From:      Matthew Bostrom <mb@mbostrom.us>
To:        doc@freebsd.org
Subject:   Geom/GBDE documentation comments.
Message-ID:  <20050227205705.GA19401@localhost.localdomain>

index | next in thread | raw e-mail

Hi doc@freebsd.org,

	I just installed FreeBSD 5.3 and played with GBDE on it.

	I followed these instructions:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html

	I noticed the following two discrepancies:

---- Discrepancy 1 ----

16.15.1 - This section implies that you need to recompile your kernel
to get GBDE functionality.  On 5.3 (and possibily on 5.2.1 and maybe
even earlier versions), recompiling the kernel is not necessary.  The
standard kernel can do GBDE "out of the box".  You can check and see:

# ls -l /boot/kernel/geom_bde.ko 
-r-xr-xr-x  1 root  wheel  23345 Nov  4 20:19 /boot/kernel/geom_bde.ko

	This file is the gbde kernel module.  If you have it, you do
not need to recompile.

---- Discrepancy 2 ----

16.15.2 says "For use with UFS1 or UFS2, set the sector_size to 2048:"

However, when I set sector_size to 2048 I got the following message:

"gbde: sector_size not a proper number"

So I used a sector size of 512.  I have no idea why 2048 did not work.
I believe that 2048 did work with 5.2.1.

---- End Discrepancies ----

	Thanks!

	-Matthew.

 ______________________________________________________________________
                                                        mb@mbostrom.us


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050227205705.GA19401>