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

David Naylor naylor.b.david at
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
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 07 08:50:04 UTC 2010
>Originator:     David Naylor
>Release:        FreeBSD 8
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
Documentation says bytes per sector are valid from 128 but the program says 512
(Well, -S doesn't work to well, in my experience but:)
newfs_msdos -S 256 /dev/null
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


More information about the freebsd-bugs mailing list