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

Warren Block wblock at FreeBSD.org
Tue Apr 12 17:30:24 UTC 2016


Author: wblock
Date: Tue Apr 12 17:30:23 2016
New Revision: 48568
URL: https://svnweb.freebsd.org/changeset/doc/48568

Log:
  Add a small demonstration of how to see partition table information.
  Suggested by Bernard T. Higonnet <bthcom at higonnet.net> in freebsd-doc.

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	Tue Apr 12 09:03:41 2016	(r48567)
+++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Tue Apr 12 17:30:23 2016	(r48568)
@@ -146,7 +146,16 @@
       See &man.gpart.8; for options to create partitions smaller than
       a whole disk.</para>
 
-    <para>A file system is created on the new blank disk:</para>
+    <para>The disk partition information can be viewed with
+      <command>gpart show</command>:</para>
+
+    <screen>&prompt.user; <userinput>gpart show ada1</userinput>
+=>        34  1465146988  ada1  GPT  (699G)
+          34        2014        - free -  (1.0M)
+        2048  1465143296     1  freebsd-ufs  (699G)
+  1465145344        1678        - free -  (839K)</screen>
+
+    <para>A file system is created in the new partition on the new disk:</para>
 
     <screen>&prompt.root; <userinput>newfs -U /dev/ada1p1</userinput></screen>
 
@@ -532,8 +541,7 @@ da0: <STECH Simple Drive 1.04> s/n
 	match "system" "GEOM";
 	match "subsystem" "DEV";
 	action "/usr/sbin/automount -c";
-};
-</screen>
+};</screen>
 
       <para>Reload the configuration if &man.autofs.5;
 	and &man.devd.8; are already running:</para>


More information about the svn-doc-all mailing list