svn commit: r44062 - head/en_US.ISO8859-1/books/handbook/disks

Warren Block wblock at FreeBSD.org
Wed Feb 26 01:18:04 UTC 2014


Author: wblock
Date: Wed Feb 26 01:18:03 2014
New Revision: 44062
URL: http://svnweb.freebsd.org/changeset/doc/44062

Log:
  Replace <command> markup with <userinput> inside the growing disks
  section.

Modified:
  head/en_US.ISO8859-1/books/handbook/disks/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Wed Feb 26 01:08:16 2014	(r44061)
+++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Wed Feb 26 01:18:03 2014	(r44062)
@@ -295,7 +295,7 @@
     <para>List the partitions on the disk to see the current
       configuration:</para>
 
-    <screen>&prompt.root; <command>gpart show <replaceable>ada0</replaceable></command>
+    <screen>&prompt.root; <userinput>gpart show <replaceable>ada0</replaceable></userinput>
 =>      34  83886013  ada0  GPT  (48G) [CORRUPT]
         34       128     1  freebsd-boot  (64k)
        162  79691648     2  freebsd-ufs  (38G)
@@ -312,7 +312,7 @@
 	partition table with
 	<command>gpart</command>:</para>
 
-      <screen>&prompt.root; <command>gpart recover <replaceable>ada0</replaceable></command>
+      <screen>&prompt.root; <userinput>gpart recover <replaceable>ada0</replaceable></userinput>
 ada0 recovered</screen>
     </note>
 
@@ -320,7 +320,7 @@ ada0 recovered</screen>
       use by a new partition, or an existing partition can be
       expanded:</para>
 
-    <screen>&prompt.root; <command>gpart show <replaceable>ada0</replaceable></command>
+    <screen>&prompt.root; <userinput>gpart show <replaceable>ada0</replaceable></userinput>
 =>       34  102399933  ada0  GPT  (48G)
          34        128     1  freebsd-boot  (64k)
         162   79691648     2  freebsd-ufs  (38G)
@@ -334,10 +334,10 @@ ada0 recovered</screen>
       unmounted, deleted, and then recreated after resizing other
       partitions.</para>
 
-    <screen>&prompt.root; <command>swapoff <replaceable>/dev/ada0p3</replaceable></command>
-&prompt.root; <command>gpart delete -i <replaceable>3</replaceable> <replaceable>ada0</replaceable></command>
+    <screen>&prompt.root; <userinput>swapoff <replaceable>/dev/ada0p3</replaceable></userinput>
+&prompt.root; <userinput>gpart delete -i <replaceable>3</replaceable> <replaceable>ada0</replaceable></userinput>
 ada0p3 deleted
-&prompt.root; <command>gpart show <replaceable>ada0</replaceable></command>
+&prompt.root; <userinput>gpart show <replaceable>ada0</replaceable></userinput>
 =>       34  102399933  ada0  GPT  (48G)
          34        128     1  freebsd-boot  (64k)
         162   79691648     2  freebsd-ufs  (38G)
@@ -352,7 +352,7 @@ ada0p3 deleted
 	system can be  resized after disabling GEOM safety
 	features:</para>
 
-      <screen>&prompt.root; <command>sysctl kern.geom.debugflags=16</command></screen>
+      <screen>&prompt.root; <userinput>sysctl kern.geom.debugflags=16</userinput></screen>
     </warning>
 
     <para>Resize the partition, leaving room to recreate a swap
@@ -360,9 +360,9 @@ ada0p3 deleted
       the partition.  The file system in the partition will be
       expanded in a separate step.</para>
 
-    <screen>&prompt.root; <command>gpart resize -i <replaceable>2</replaceable> -a 4k -s <replaceable>47G</replaceable> <replaceable>ada0</replaceable></command>
+    <screen>&prompt.root; <userinput>gpart resize -i <replaceable>2</replaceable> -a 4k -s <replaceable>47G</replaceable> <replaceable>ada0</replaceable></userinput>
 ada0p2 resized
-&prompt.root; <command>gpart show <replaceable>ada0</replaceable></command>
+&prompt.root; <userinput>gpart show <replaceable>ada0</replaceable></userinput>
 =>       34  102399933  ada0  GPT  (48G)
          34        128     1  freebsd-boot  (64k)
         162   98566144     2  freebsd-ufs  (47G)
@@ -370,14 +370,14 @@ ada0p2 resized
 
     <para>Recreate the swap partition:</para>
 
-    <screen>&prompt.root; <command>gpart add -t freebsd-swap -a 4k <replaceable>ada0</replaceable></command>
+    <screen>&prompt.root; <userinput>gpart add -t freebsd-swap -a 4k <replaceable>ada0</replaceable></userinput>
 ada0p3 added
-&prompt.root; <command>gpart show <replaceable>ada0</replaceable></command>
+&prompt.root; <userinput>gpart show <replaceable>ada0</replaceable></userinput>
 =>       34  102399933  ada0  GPT  (48G)
          34        128     1  freebsd-boot  (64k)
         162   98566144     2  freebsd-ufs  (47G)
    98566306    3833661     3  freebsd-swap  (1.8G)
-&prompt.root; <command>swapon <replaceable>/dev/ada0p3</replaceable></command></screen>
+&prompt.root; <userinput>swapon <replaceable>/dev/ada0p3</replaceable></userinput></screen>
 
     <para>Grow the <acronym>UFS</acronym> file system to use the new
       capacity of the resized partition:</para>
@@ -388,7 +388,7 @@ ada0p3 added
 	versions, the file system must not be mounted.</para>
     </note>
 
-    <screen>&prompt.root; <command>growfs <replaceable>/dev/ada0p2</replaceable></command>
+    <screen>&prompt.root; <userinput>growfs <replaceable>/dev/ada0p2</replaceable></userinput>
 Device is mounted read-write; resizing will result in temporary write suspension for /.
 It's strongly recommended to make a backup before growing the file system.
 OK to grow file system on /dev/ada0p2, mounted on /, from 38GB to 47GB? [Yes/No] <userinput>Yes</userinput>


More information about the svn-doc-all mailing list