Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 06:30:43 -0700 (PDT)
From:      Andrey Ignatov <rdna@rdna.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/156089: [patch] option "-w" is not documented in limits(1)
Message-ID:  <4d948203.01a2cc0a.28d1.4773@mx.google.com>
Resent-Message-ID: <201103311340.p2VDeBob002340@freefall.freebsd.org>

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

>Number:         156089
>Category:       docs
>Synopsis:       [patch] option "-w" is not documented in limits(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 13:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Ignatov
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Yandex
>Environment:
System: FreeBSD rdna.yandex.ru 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219030: Fri Feb 25 17:53:02 MSK 2011 root@rdna.yandex.ru:/usr/obj/usr/src/sys/RDNA amd64


>Description:
	limits(1) has option "-w" but there is not any description of
	this in the appropriate man page.
>How-To-Repeat:
	% limits -w
	Resource limits (current):
	  swapuse              infinity kB
	% zcat /usr/share/man/man1/limits.1.gz | tbl | groff -S -Wall -mtty-char -man -Tascii | col | grep -i swap ; echo $?
	1

>Fix:


--- limits.1.patch begins here ---
Index: usr.bin/limits/limits.1
===================================================================
--- usr.bin/limits/limits.1	(revision 219030)
+++ usr.bin/limits/limits.1	(working copy)
@@ -266,6 +266,10 @@
 Select or set the
 .Va pseudoterminals
 resource limit.
+.It Fl w Op Ar val
+Select or set the
+.Va swapuse
+resource limit.
 .El
 .Pp
 Valid values for
--- limits.1.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d948203.01a2cc0a.28d1.4773>