|
Lines 3566-3572
Link Here
|
| 3566 |
initialized before it can be used. This initialization needs to |
3566 |
initialized before it can be used. This initialization needs to |
| 3567 |
be performed only once:</para> |
3567 |
be performed only once:</para> |
| 3568 |
|
3568 |
|
| 3569 |
<screen>&prompt.root; <userinput>gbde init /dev/ad4s1c -i -L /etc/gbde/ad4s1c</userinput></screen> |
3569 |
<screen>&prompt.root; <userinput>gbde init /dev/ad4s1c -i -L /etc/gbde/ad4s1c.lock</userinput></screen> |
| 3570 |
|
3570 |
|
| 3571 |
<para>&man.gbde.8; will open your editor, permitting you to set |
3571 |
<para>&man.gbde.8; will open your editor, permitting you to set |
| 3572 |
various configuration options in a template. For use with UFS1 |
3572 |
various configuration options in a template. For use with UFS1 |
|
Lines 3598-3604
Link Here
|
| 3598 |
<para>The <command>gbde init</command> command creates a lock |
3598 |
<para>The <command>gbde init</command> command creates a lock |
| 3599 |
file for your <application>gbde</application> partition that in |
3599 |
file for your <application>gbde</application> partition that in |
| 3600 |
this example is stored as |
3600 |
this example is stored as |
| 3601 |
<filename>/etc/gbde/ad4s1c</filename>.</para> |
3601 |
<filename>/etc/gbde/ad4s1c.lock</filename>.</para> |
|
|
3602 |
|
| 3603 |
<note> |
| 3604 |
<para><application>gbde</application> lock files must end in |
| 3605 |
<emphasis>.lock</emphasis> in order to be correctly detected |
| 3606 |
by the <application>gbde</application> <filename>rc.d</filename> |
| 3607 |
script.</para> |
| 3608 |
</note> |
| 3602 |
|
3609 |
|
| 3603 |
<caution> |
3610 |
<caution> |
| 3604 |
<para><application>gbde</application> lock files |
3611 |
<para><application>gbde</application> lock files |
|
Lines 3616-3622
Link Here
|
| 3616 |
<step> |
3623 |
<step> |
| 3617 |
<title>Attach the Encrypted Partition to the Kernel</title> |
3624 |
<title>Attach the Encrypted Partition to the Kernel</title> |
| 3618 |
|
3625 |
|
| 3619 |
<screen>&prompt.root; <userinput>gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c</userinput></screen> |
3626 |
<screen>&prompt.root; <userinput>gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c.lock</userinput></screen> |
| 3620 |
|
3627 |
|
| 3621 |
<para> You will be asked to provide the passphrase that you |
3628 |
<para> You will be asked to provide the passphrase that you |
| 3622 |
selected during the initialization of the encrypted partition. |
3629 |
selected during the initialization of the encrypted partition. |
|
Lines 3693-3699
Link Here
|
| 3693 |
<step> |
3700 |
<step> |
| 3694 |
<title>Attach the gbde Partition to the Kernel</title> |
3701 |
<title>Attach the gbde Partition to the Kernel</title> |
| 3695 |
|
3702 |
|
| 3696 |
<screen>&prompt.root; <userinput>gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c</userinput></screen> |
3703 |
<screen>&prompt.root; <userinput>gbde attach /dev/ad4s1c -l /etc/gbde/ad4s1c.lock</userinput></screen> |
| 3697 |
|
3704 |
|
| 3698 |
<para>You will be asked to provide the passphrase that you |
3705 |
<para>You will be asked to provide the passphrase that you |
| 3699 |
selected during initialization of the encrypted |
3706 |
selected during initialization of the encrypted |
|
Lines 3734-3740
Link Here
|
| 3734 |
&man.rc.conf.5;, for example:</para> |
3741 |
&man.rc.conf.5;, for example:</para> |
| 3735 |
|
3742 |
|
| 3736 |
<programlisting>gbde_autoattach_all="YES" |
3743 |
<programlisting>gbde_autoattach_all="YES" |
| 3737 |
gbde_devices="ad4s1c"</programlisting> |
3744 |
gbde_devices="ad4s1c" |
|
|
3745 |
gbde_lockdir="/etc/gbde"</programlisting> |
| 3738 |
|
3746 |
|
| 3739 |
<para>This will require that the <application>gbde</application> |
3747 |
<para>This will require that the <application>gbde</application> |
| 3740 |
passphrase be entered at boot time. After typing the correct |
3748 |
passphrase be entered at boot time. After typing the correct |