起動時のGELIデバイス設定用スクリプトを加えました

追加

# GELI disk encryption configuration.
geli_devices=""
List of devices to automatically attach in addition to GELI devices listed in /etc/fstab.
geli_tries=""
Number of times to attempt attaching geli device. If empty, kern.geom.eli.tries will be used.
geli_default_flags=""
Default flags for geli(8).
geli_autodetach="YES"
Automatically detach on last close. Providers are marked as such when all file systems are mounted.
# Example use.
  • #geli_devices="da1 mirror/home"
  • #geli_da1_flags="-p -k /etc/geli/da1.keys"
  • #geli_da1_autodetach="NO"
  • #geli_mirror_home_flags="-k /etc/geli/home.keys"

commit log

Add scripts for GELI device configuration on boot.
起動時のGELIデバイス設定用スクリプトを加えました。

rc.d/geli
configures encryption (ask for passphrases, etc.);
暗号化の設定(パスフレーズを聞く、他)
rc.d/geli2
is called after file systems are mounted and mark devices for detach on last close.
ファイルシステムがマウントされた後によばれ、前回閉じた時に切り離したとデバイスにマークします。
Sponsored by
Wheel Sp. z o.o.
http://www.wheel.pl
MFC after
3 days

$FreeBSD: src/etc/defaults/rc.conf,v 1.257 2005/08/14 18:02:21 pjd Exp $
$FreeBSD: src/etc/defaults/rc.conf,v 1.252.2.1 2005/08/16 09:30:13 pjd Exp $