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

Warren Block <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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 <[email protected]> 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: &lt;STECH Simple Drive 1.04&gt; 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>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.