Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 08:47:45 GMT
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/142418: [PATCH] sbin/newfs_msdos doc fix
Message-ID:  <201001070847.o078lj4t087498@www.freebsd.org>
Resent-Message-ID: <201001070850.o078o4ja043501@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001070847.o078lj4t087498>