From a116ea3db17c772fa55d11c6297c8ccda1292b68 Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Tue, 25 Mar 2008 08:43:38 +0000 Subject: [PATCH] Use the default extent-size for newfs(8) instead of a -d0 one which may lead to errors. PR: docs/122066 Submitted by: Takamichi Tateoka --- en_US.ISO8859-1/books/handbook/disks/chapter.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index 3d67ce2a10..d207e2b6a7 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -329,7 +329,7 @@ &prompt.root; dd if=/dev/zero of=/dev/da1 bs=1k count=1 &prompt.root; bsdlabel -Bw da1 auto &prompt.root; bsdlabel -e da1 # create the `e' partition -&prompt.root; newfs -d0 /dev/da1e +&prompt.root; newfs /dev/da1e &prompt.root; mkdir -p /1 &prompt.root; vi /etc/fstab # add an entry for /dev/da1e &prompt.root; mount /1 @@ -1813,7 +1813,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c before the first use. In the example, the whole disk space will be used with a standard UFS2 file system: - &prompt.root; dd if=/dev/zero of=/dev/acd0 count=2 + &prompt.root; dd if=/dev/zero of=/dev/acd0 bs=2k count=1 &prompt.root; bsdlabel -Bw acd0 &prompt.root; newfs /dev/acd0