FreeBSD Bugzilla – Attachment 63854 Details for
Bug 95139
FAQ to move filesystem to new disk fails: incorrect permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
faq.patch
faq.patch (text/plain; charset=us-ascii), 1.69 KB, created by
Marc Silver
on 2008-01-10 09:49:19 UTC
(
hide
)
Description:
faq.patch
Filename:
MIME Type:
Creator:
Marc Silver
Created:
2008-01-10 09:49:19 UTC
Size:
1.69 KB
patch
obsolete
>--- book.sgml.orig 2008-01-10 11:47:27.000000000 +0200 >+++ book.sgml 2008-01-10 11:47:29.000000000 +0200 >@@ -5068,7 +5068,7 @@ > <screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> > &prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> > &prompt.root; <userinput>cd /mnt</userinput> >-&prompt.root; <userinput>dump 0af - / | restore xf -</userinput></screen> >+&prompt.root; <userinput>dump 0f - / | restore rf -</userinput></screen> > > <para>Rearranging your partitions with dump takes a bit more > work. To merge a partition like <filename>/var</filename> >@@ -5080,9 +5080,9 @@ > <screen>&prompt.root; <userinput>newfs /dev/ad1s1a</userinput> > &prompt.root; <userinput>mount /dev/ad1s1a /mnt</userinput> > &prompt.root; <userinput>cd /mnt</userinput> >-&prompt.root; <userinput>dump 0af - / | restore xf -</userinput> >+&prompt.root; <userinput>dump 0f - / | restore rf -</userinput> > &prompt.root; <userinput>cd var</userinput> >-&prompt.root; <userinput>dump 0af - /var | restore xf -</userinput></screen> >+&prompt.root; <userinput>dump 0f - /var | restore rf -</userinput></screen> > > <para>To split a directory from its parent, say putting > <filename>/var</filename> on its own partition when it was not >@@ -5096,7 +5096,7 @@ > &prompt.root; <userinput>mkdir /mnt/var</userinput> > &prompt.root; <userinput>mount /dev/ad1s1d /mnt/var</userinput> > &prompt.root; <userinput>cd /mnt</userinput> >-&prompt.root; <userinput>dump 0af - / | restore xf -</userinput></screen> >+&prompt.root; <userinput>dump 0f - / | restore rf -</userinput></screen> > > <para>You might prefer &man.cpio.1;, &man.pax.1;, > &man.tar.1; to &man.dump.8; for user data. At the time of
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 95139
: 63854