Skip site navigation (1)Skip section navigation (2)
Date:      17 Jan 2004 12:59:28 -0000
From:      Alex Popa <razor@ldc.ro>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/61472: Bogus "-c" option to ffsinfo in the growfs manpage
Message-ID:  <20040117125928.80665.qmail@ldc.ro>
Resent-Message-ID: <200401171300.i0HD0Y4k048707@freefall.freebsd.org>

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

>Number:         61472
>Category:       bin
>Synopsis:       Bogus "-c" option to ffsinfo in the growfs manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 17 05:00:33 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alex Popa
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD ns.ldc.ro 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Jan 2 21:44:54 EET 2004 root@ns.ldc.ro:/usr/obj/usr/src/sys/NS i386


	
>Description:
/usr/src/sbin/growfs/growfs.8 mentions running "ffsinfo -c 0" in order
to verify the nbfree value.  However, judging from the ffsinfo manpage
(and the source), ffsinfo has never supported a -c option.  Appropriate
results seem to be attainable when running "ffsinfo -g 0", or even more
precise, "ffsinfo -g 0 -l 4".
>How-To-Repeat:
Read growfs manpage, and, as advised, run ffsinfo -c 0 /dev/domedisk
>Fix:

/usr/src/sbin/growfs/growfs.8, line 161 (in revision 1.6.2.6), change
".Fl c Ar 0" to ".Fl g Ar 0"

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



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