Date: Tue, 8 Feb 2005 22:30:24 GMT From: Ian <cdine@cdine.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/77280: Typo in swapon man page Message-ID: <200502082230.j18MUOKK023165@www.freebsd.org> Resent-Message-ID: <200502082240.j18MeCAm048125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77280 >Category: misc >Synopsis: Typo in swapon man page >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: Tue Feb 08 22:40:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ian >Release: FreeBSD 5.3-RELEASE >Organization: Negative Nine Security (Neg9) >Environment: FreeBSD dedication.neg9.org 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Mon Jan 3 02:17:43 PST 2005 root@dedication.neg9.org:/usr/obj/usr/src/sys/SMIRNOFF i386 >Description: Snipped from `man swapon` (Yes, swapon, swapinfo does not say to use -h) on FreeBSD -- 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Mon Jan 3 02:17:43 PST 2005 ============================== SWAPON(8) FreeBSD System Manager's Manual SWAPON(8) NAME swapon, swapoff, swapctl -- specify devices for paging and swapping .. Swap information can be generated using the swapinfo(8) utility, pstat -s, or swapctl -l. The swapctl utility has the following options for listing swap: -h Output values in megabytes. .. HISTORY The swapon utility appeared in 4.0BSD. The swapoff and swapctl utilities appeared in FreeBSD 5.1. FreeBSD 5.3 December 28, 2002 FreeBSD 5.3 ============================== -h Is not a valid option of swapinfo, as demonstrated here: # swapinfo -h swapinfo: illegal option -- h usage: swapinfo [-k] [-M core [-N system]] # swapinfo -k Device 1K-blocks Used Avail Capacity /dev/ad0s1b 1572864 31132 1541732 2% >How-To-Repeat: # man swapon, search for "-h" i.e. if your viwer is more, type "/" and then "-h" followed by a return. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502082230.j18MUOKK023165>