From 04bc911443783316e7028a96948c985cffe110ae Mon Sep 17 00:00:00 2001 From: Warren Block Date: Tue, 12 Apr 2016 17:30:23 +0000 Subject: [PATCH] Add a small demonstration of how to see partition table information. Suggested by Bernard T. Higonnet in freebsd-doc. --- en_US.ISO8859-1/books/handbook/disks/chapter.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.xml b/en_US.ISO8859-1/books/handbook/disks/chapter.xml index fb3b06c4a0..4c7e6bbcfa 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.xml @@ -146,7 +146,16 @@ See &man.gpart.8; for options to create partitions smaller than a whole disk. - A file system is created on the new blank disk: + The disk partition information can be viewed with + gpart show: + + &prompt.user; gpart show ada1 +=> 34 1465146988 ada1 GPT (699G) + 34 2014 - free - (1.0M) + 2048 1465143296 1 freebsd-ufs (699G) + 1465145344 1678 - free - (839K) + + A file system is created in the new partition on the new disk: &prompt.root; newfs -U /dev/ada1p1 @@ -532,8 +541,7 @@ da0: <STECH Simple Drive 1.04> s/n WD-WXE508CAN263 detached match "system" "GEOM"; match "subsystem" "DEV"; action "/usr/sbin/automount -c"; -}; - +}; Reload the configuration if &man.autofs.5; and &man.devd.8; are already running: