|
Lines 5068-5074
Link Here
|
| 5068 |
<screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> |
5068 |
<screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> |
| 5069 |
&prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> |
5069 |
&prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> |
| 5070 |
&prompt.root; <userinput>cd /mnt</userinput> |
5070 |
&prompt.root; <userinput>cd /mnt</userinput> |
| 5071 |
&prompt.root; <userinput>dump 0af - / | restore xf -</userinput></screen> |
5071 |
&prompt.root; <userinput>dump 0f - / | restore rf -</userinput></screen> |
| 5072 |
|
5072 |
|
| 5073 |
<para>Rearranging your partitions with dump takes a bit more |
5073 |
<para>Rearranging your partitions with dump takes a bit more |
| 5074 |
work. To merge a partition like <filename>/var</filename> |
5074 |
work. To merge a partition like <filename>/var</filename> |
|
Lines 5080-5088
Link Here
|
| 5080 |
<screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> |
5080 |
<screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> |
| 5081 |
&prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> |
5081 |
&prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> |
| 5082 |
&prompt.root; <userinput>cd /mnt</userinput> |
5082 |
&prompt.root; <userinput>cd /mnt</userinput> |
| 5083 |
&prompt.root; <userinput>dump 0af - / | restore xf -</userinput> |
5083 |
&prompt.root; <userinput>dump 0f - / | restore rf -</userinput> |
| 5084 |
&prompt.root; <userinput>cd var</userinput> |
5084 |
&prompt.root; <userinput>cd var</userinput> |
| 5085 |
&prompt.root; <userinput>dump 0af - /var | restore xf -</userinput></screen> |
5085 |
&prompt.root; <userinput>dump 0f - /var | restore rf -</userinput></screen> |
| 5086 |
|
5086 |
|
| 5087 |
<para>To split a directory from its parent, say putting |
5087 |
<para>To split a directory from its parent, say putting |
| 5088 |
<filename>/var</filename> on its own partition when it was not |
5088 |
<filename>/var</filename> on its own partition when it was not |
|
Lines 5096-5102
Link Here
|
| 5096 |
&prompt.root; <userinput>mkdir /mnt/var</userinput> |
5096 |
&prompt.root; <userinput>mkdir /mnt/var</userinput> |
| 5097 |
&prompt.root; <userinput>mount /dev/ad1s1d /mnt/var</userinput> |
5097 |
&prompt.root; <userinput>mount /dev/ad1s1d /mnt/var</userinput> |
| 5098 |
&prompt.root; <userinput>cd /mnt</userinput> |
5098 |
&prompt.root; <userinput>cd /mnt</userinput> |
| 5099 |
&prompt.root; <userinput>dump 0af - / | restore xf -</userinput></screen> |
5099 |
&prompt.root; <userinput>dump 0f - / | restore rf -</userinput></screen> |
| 5100 |
|
5100 |
|
| 5101 |
<para>You might prefer &man.cpio.1;, &man.pax.1;, |
5101 |
<para>You might prefer &man.cpio.1;, &man.pax.1;, |
| 5102 |
&man.tar.1; to &man.dump.8; for user data. At the time of |
5102 |
&man.tar.1; to &man.dump.8; for user data. At the time of |