From owner-freebsd-doc@FreeBSD.ORG Tue Jun 5 20:50:04 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B82AA16A41F for ; Tue, 5 Jun 2007 20:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4EE13C43E for ; Tue, 5 Jun 2007 20:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l55Ko4OF076717 for ; Tue, 5 Jun 2007 20:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l55Ko4nx076716; Tue, 5 Jun 2007 20:50:04 GMT (envelope-from gnats) Resent-Date: Tue, 5 Jun 2007 20:50:04 GMT Resent-Message-Id: <200706052050.l55Ko4nx076716@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Beat Gätzi Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 656E516A469 for ; Tue, 5 Jun 2007 20:46:00 +0000 (UTC) (envelope-from beat@chruetertee.ch) Received: from mail12.bluewin.ch (mail12.bluewin.ch [195.186.19.61]) by mx1.freebsd.org (Postfix) with ESMTP id 2FFBE13C4B9 for ; Tue, 5 Jun 2007 20:46:00 +0000 (UTC) (envelope-from beat@chruetertee.ch) Received: from [83.79.0.127] (83.79.0.127) by mail12.bluewin.ch (Bluewin 7.3.121) id 46499B45004A2420 for FreeBSD-gnats-submit@freebsd.org; Tue, 5 Jun 2007 20:45:58 +0000 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 5 Jun 2007 22:46:06 +0200 Message-Id: <46499B45004A2420@mail12.bluewin.ch> (added by postmaster@bluewin.ch) Date: Tue, 5 Jun 2007 22:46:06 +0200 From: "Beat Gaetzi" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/113390: [PATCH] geli option for to onetime encryption algorithm has changed on FreeBSD 6.2 and later X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beat Gätzi List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 20:50:04 -0000 >Number: 113390 >Category: docs >Synopsis: [PATCH] geli option for to onetime encryption algorithm has changed on FreeBSD 6.2 and later >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 05 20:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Beat Gätzi >Release: FreeBSD 6.2-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD daedalus.network.local 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Mar 18 12:42:52 CET 2007 root@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386 >Description: Since FreeBSD 6.2 the option to define the encryption algorithm to encrypt the swap partition has changed from -a to -e. >How-To-Repeat: Encrypt the swap partition on a FreeBSD 6.2 as described in the handbook, copy the geli_swap_flags line into the rc.conf and restart the system. Compare the onetime paragraph in geli(8) for 6.1 and 6.2: http://www.freebsd.org/cgi/man.cgi?query=geli&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html http://www.freebsd.org/cgi/man.cgi?query=geli&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html >Fix: --- chapter.sgml.patch begins here --- diff -Naur doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml --- doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml Tue Jun 5 22:10:17 2007 +++ doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml Tue Jun 5 22:16:53 2007 @@ -4106,7 +4106,11 @@ a sectorsize of 4 kilobytes and the detach on last close option set: - geli_swap_flags="-a blowfish -l 128 -s 4096 -d" + geli_swap_flags="-e blowfish -l 128 -s 4096 -d" + + For systems prior to &os; 6.2-RELEASE, use the following line: + + geli_swap_flags="-a blowfish -l 128 -s 4096 -d" Please refer to the description of the onetime command in the &man.geli.8; manual page for a list of possible options. --- chapter.sgml.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: