Bug 156089

Summary: [patch] option "-w" is not documented in limits(1)
Product: Documentation Reporter: Andrey Ignatov <rdna>
Component: Books & ArticlesAssignee: Sergey Kandaurov <pluknet>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
limits.1.patch none

Description Andrey Ignatov 2011-03-31 14:40:10 UTC
	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
Comment 1 Sergey Kandaurov freebsd_committer freebsd_triage 2011-04-04 12:24:26 UTC
Responsible Changed
From-To: freebsd-doc->pluknet

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-04-05 08:56:50 UTC
Author: pluknet
Date: Tue Apr  5 07:56:40 2011
New Revision: 220358
URL: http://svn.freebsd.org/changeset/base/220358

Log:
  Document -w for swapuse.
  
  PR:		docs/156089
  Submitted by:	Andrey Ignatov <rdna att rdna.ru>
  MFC after:	1 week

Modified:
  head/usr.bin/limits/limits.1

Modified: head/usr.bin/limits/limits.1
==============================================================================
--- head/usr.bin/limits/limits.1	Tue Apr  5 06:46:07 2011	(r220357)
+++ head/usr.bin/limits/limits.1	Tue Apr  5 07:56:40 2011	(r220358)
@@ -19,7 +19,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 18, 2002
+.Dd April 5, 2011
 .Dt LIMITS 1
 .Os
 .Sh NAME
@@ -30,11 +30,11 @@
 .Op Fl C Ar class | Fl U Ar user
 .Op Fl SHB
 .Op Fl ea
-.Op Fl bcdflmnstuvp Op Ar val
+.Op Fl bcdflmnstuvpw Op Ar val
 .Nm
 .Op Fl C Ar class | Fl U Ar user
 .Op Fl SHB
-.Op Fl bcdflmnstuvp Op Ar val
+.Op Fl bcdflmnstuvpw Op Ar val
 .Op Fl E
 .Oo
 .Op Ar name Ns = Ns Ar value ...
@@ -266,6 +266,10 @@ space.
 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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Sergey Kandaurov freebsd_committer freebsd_triage 2011-04-05 08:57:03 UTC
State Changed
From-To: open->patched

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-04-12 09:55:06 UTC
Author: pluknet
Date: Tue Apr 12 08:54:49 2011
New Revision: 220561
URL: http://svn.freebsd.org/changeset/base/220561

Log:
  MFC r220358:
  
   Document -w for swapuse.
  
  PR:		docs/156089
  Submitted by:	Andrey Ignatov <rdna att rdna.ru>

Modified:
  stable/8/usr.bin/limits/limits.1
Directory Properties:
  stable/8/usr.bin/limits/   (props changed)

Modified: stable/8/usr.bin/limits/limits.1
==============================================================================
--- stable/8/usr.bin/limits/limits.1	Tue Apr 12 08:13:18 2011	(r220560)
+++ stable/8/usr.bin/limits/limits.1	Tue Apr 12 08:54:49 2011	(r220561)
@@ -19,7 +19,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 18, 2002
+.Dd April 5, 2011
 .Dt LIMITS 1
 .Os
 .Sh NAME
@@ -30,11 +30,11 @@
 .Op Fl C Ar class | Fl U Ar user
 .Op Fl SHB
 .Op Fl ea
-.Op Fl bcdflmnstuvp Op Ar val
+.Op Fl bcdflmnstuvpw Op Ar val
 .Nm
 .Op Fl C Ar class | Fl U Ar user
 .Op Fl SHB
-.Op Fl bcdflmnstuvp Op Ar val
+.Op Fl bcdflmnstuvpw Op Ar val
 .Op Fl E
 .Oo
 .Op Ar name Ns = Ns Ar value ...
@@ -266,6 +266,10 @@ space.
 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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 5 Sergey Kandaurov freebsd_committer freebsd_triage 2011-04-12 09:55:31 UTC
State Changed
From-To: patched->closed

Merged to stable/8.