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 <tate@cs.uec.ac.jp>
This commit is contained in:
parent
76db7e810f
commit
a116ea3db1
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31736
1 changed files with 2 additions and 2 deletions
|
|
@ -329,7 +329,7 @@
|
|||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/da1 bs=1k count=1</userinput>
|
||||
&prompt.root; <userinput>bsdlabel -Bw da1 auto</userinput>
|
||||
&prompt.root; <userinput>bsdlabel -e da1</userinput> # create the `e' partition
|
||||
&prompt.root; <userinput>newfs -d0 /dev/da1e</userinput>
|
||||
&prompt.root; <userinput>newfs /dev/da1e</userinput>
|
||||
&prompt.root; <userinput>mkdir -p /1</userinput>
|
||||
&prompt.root; <userinput>vi /etc/fstab</userinput> # add an entry for /dev/da1e
|
||||
&prompt.root; <userinput>mount /1</userinput></screen>
|
||||
|
|
@ -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:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/dev/acd0</replaceable> count=2</userinput>
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/dev/acd0</replaceable> bs=2k count=1</userinput>
|
||||
&prompt.root; <userinput>bsdlabel -Bw <replaceable>acd0</replaceable></userinput>
|
||||
&prompt.root; <userinput>newfs <replaceable>/dev/acd0</replaceable></userinput></screen>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue