bin/142418: [PATCH] sbin/newfs_msdos doc fix

David Naylor naylor.b.david at gmail.com
Thu Jan 7 08:50:05 UTC 2010


>Number:         142418
>Category:       bin
>Synopsis:       [PATCH] sbin/newfs_msdos doc fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 07 08:50:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        FreeBSD 8
>Organization:
Private
>Environment:
FreeBSD dragon.dg 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Dec 24 08:51:17 SAST 2009     root at dragon.dg:/tmp/usr/src/sys/GENERIC  amd64
>Description:
Documentation says bytes per sector are valid from 128 but the program says 512
>How-To-Repeat:
(Well, -S doesn't work to well, in my experience but:)
newfs_msdos -S 256 /dev/null
>Fix:
See patch

Patch attached with submission follows:

--- /usr/src/sbin/newfs_msdos/newfs_msdos.8	2009-09-03 08:43:57.000000000 +0200
+++ newfs_msdos.8	2010-01-07 10:31:28.000000000 +0200
@@ -116,7 +116,7 @@
 .It Fl S Ar sector-size
 Number of bytes per sector.
 Acceptable values are powers of 2
-in the range 128 through 32768.
+in the range 512 through 32768, inclusive.
 .It Fl a Ar FAT-size
 Number of sectors per FAT.
 .It Fl b Ar block-size


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list