From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 7 08:50:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F32106568B for ; Thu, 7 Jan 2010 08:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 460838FC22 for ; Thu, 7 Jan 2010 08:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o078o4M6043502 for ; Thu, 7 Jan 2010 08:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o078o4ja043501; Thu, 7 Jan 2010 08:50:04 GMT (envelope-from gnats) Resent-Date: Thu, 7 Jan 2010 08:50:04 GMT Resent-Message-Id: <201001070850.o078o4ja043501@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Naylor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49D73106568B for ; Thu, 7 Jan 2010 08:47:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 396EE8FC20 for ; Thu, 7 Jan 2010 08:47:46 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o078lkDA087499 for ; Thu, 7 Jan 2010 08:47:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o078lj4t087498; Thu, 7 Jan 2010 08:47:45 GMT (envelope-from nobody) Message-Id: <201001070847.o078lj4t087498@www.freebsd.org> Date: Thu, 7 Jan 2010 08:47:45 GMT From: David Naylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/142418: [PATCH] sbin/newfs_msdos doc fix X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 08:50:05 -0000 >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: