docs/122066: -d0 option cause error which described in handbook

Takamichi Tateoka tate at cs.uec.ac.jp
Tue Mar 25 05:30:02 UTC 2008


>Number:         122066
>Category:       docs
>Synopsis:       -d0 option cause error which described in handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 05:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Takamichi Tateoka
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
Univ. of Electro-Communications
>Environment:
FreeBSD nkaczer.cs.uec.ac.jp 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Sat Oct 13 16:39:04 UTC 2007     tate at nkaczer.cs.uec.ac.jp:/usr/obj/usr/src/sys/GENERIC  i386

  "18.3 Adding Disks" in FreeBSD handbook:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html

>Description:
  A sample commands to create a new partition (newfs -d0 /dev/da1e) cause
error in at least 6.2R-p8 system.  The command apppers in 18.3.2.2.

>How-To-Repeat:
  Run newfs with -d0 option.  It cause a error.
  In my case:

# newfs -d0 /dev/da0a
newfs: 0: bad extent block size
#

>Fix:

  The next example in the handbook says use "newfs /dev/da1e", so i think
remove -d0 option from the handbook is enough.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list