From owner-p4-projects@FreeBSD.ORG Fri Feb 1 04:02:02 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D140E16A421; Fri, 1 Feb 2008 04:02:01 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8AD16A417 for ; Fri, 1 Feb 2008 04:02:01 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 73C9913C468 for ; Fri, 1 Feb 2008 04:02:01 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m114218T050998 for ; Fri, 1 Feb 2008 04:02:01 GMT (envelope-from pgj@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m11421A1050993 for perforce@freebsd.org; Fri, 1 Feb 2008 04:02:01 GMT (envelope-from pgj@FreeBSD.org) Date: Fri, 1 Feb 2008 04:02:01 GMT Message-Id: <200802010402.m11421A1050993@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to pgj@FreeBSD.org using -f From: Gabor Pali To: Perforce Change Reviews Cc: Subject: PERFORCE change 134577 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 04:02:02 -0000 http://perforce.freebsd.org/chv.cgi?CH=134577 Change 134577 by pgj@disznohal on 2008/02/01 04:01:53 IFC before translation Affected files ... .. //depot/projects/docproj_hu/books/handbook/disks/chapter.sgml#2 edit Differences ... ==== //depot/projects/docproj_hu/books/handbook/disks/chapter.sgml#2 (text+ko) ==== @@ -1,7 +1,7 @@ @@ -2779,27 +2779,12 @@ cp /root/.profile /mnt/root -cp -f /dev/MAKEDEV /mnt/dev -chmod 755 /mnt/dev/MAKEDEV - chmod 500 /mnt/sbin/init chmod 555 /mnt/sbin/fsck /mnt/sbin/mount /mnt/sbin/halt chmod 555 /mnt/bin/sh /mnt/bin/sync chmod 6555 /mnt/sbin/restore # -# create the devices nodes -# -cd /mnt/dev -./MAKEDEV std -./MAKEDEV da0 -./MAKEDEV da1 -./MAKEDEV da2 -./MAKEDEV sa0 -./MAKEDEV pty0 -cd / - -# # create minimum file system table # cat > /mnt/etc/fstab < - &prompt.root; gbde init /dev/ad4s1c -i -L /etc/gbde/ad4s1c + &prompt.root; gbde init /dev/ad4s1c -i -L /etc/gbde/ad4s1c.lock &man.gbde.8; will open your editor, permitting you to set various configuration options in a template. For use with UFS1 @@ -3613,7 +3598,11 @@ The gbde init command creates a lock file for your gbde partition that in this example is stored as - /etc/gbde/ad4s1c. + /etc/gbde/ad4s1c.lock. + gbde lock files must end in + .lock in order to be correctly detected by + the + /etc/rc.d/gbde start up script. gbde lock files @@ -3631,7 +3620,7 @@ Attach the Encrypted Partition to the Kernel - &prompt.root; gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c + &prompt.root; gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c.lock You will be asked to provide the passphrase that you selected during the initialization of the encrypted partition. @@ -3708,7 +3697,7 @@ Attach the gbde Partition to the Kernel - &prompt.root; gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c + &prompt.root; gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c.lock You will be asked to provide the passphrase that you selected during initialization of the encrypted @@ -3749,7 +3738,8 @@ &man.rc.conf.5;, for example: gbde_autoattach_all="YES" -gbde_devices="ad4s1c" +gbde_devices="ad4s1c" +gbde_lockdir="/etc/gbde" This will require that the gbde passphrase be entered at boot time. After typing the correct @@ -4099,6 +4089,10 @@ a sectorsize of 4 kilobytes and the detach on last close option set: + 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