bin/61472: Bogus "-c" option to ffsinfo in the growfs manpage
Alex Popa
razor at ldc.ro
Sat Jan 17 05:00:36 PST 2004
>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 at 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:
More information about the freebsd-bugs
mailing list