From swear@blarg.net  Thu Mar  7 11:45:14 2002
Return-Path: <swear@blarg.net>
Received: from lists.blarg.net (lists.blarg.net [206.124.128.17])
	by hub.freebsd.org (Postfix) with ESMTP id A7EB537B41A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Mar 2002 11:45:13 -0800 (PST)
Received: from thig.blarg.net (thig.blarg.net [206.124.128.18])
	by lists.blarg.net (Postfix) with ESMTP id 69301BD2A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Mar 2002 11:45:13 -0800 (PST)
Received: from localhost.localdomain ([206.124.139.115])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA26800
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 Mar 2002 11:45:12 -0800
Received: (from jojo@localhost)
	by localhost.localdomain (8.11.6/8.11.3) id g27JmPf46541;
	Thu, 7 Mar 2002 11:48:25 -0800 (PST)
	(envelope-from swear@blarg.net)
Message-Id: <7csn7ccg6u.n7c@localhost.localdomain>
Date: 07 Mar 2002 11:48:25 -0800
From: "Gary W. Swearingen" <swear@blarg.net>
Reply-To: swear@blarg.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: lo(4) page maybe should document optional "count".
X-GNATS-Notify:

>Number:         35642
>Category:       docs
>Synopsis:       lo(4) page maybe should document optional "count".
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 07 11:50:01 PST 2002
>Closed-Date:    Fri Apr 14 19:57:57 GMT 2006
>Last-Modified:  Fri Apr 14 19:57:57 GMT 2006
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
none
>Environment:
n/a
================
>Description:

I'm not sure if this is an enhancement request or a bug, but the
/sys/net/if_loop.c's "loopattach" function gives a strong hint that the
synopsis of the lo(4) man page could (or should?) be changed from
     pseudo-device loop
to
     pseudo-device loop [ count ]
like the ppp pseudo-device has.

The hint is confirmed by the page's "Description" section which mentions
"lo%d" in an error message.  (I guess FreeBSD users are presumed to know
"printf".)

================
>How-To-Repeat:
n/a
================
>Fix:

Determine whether the optional count is really supported and if it is,
then change the synopsis line as above and probably change the comment
about 127.0.0.1 to 127.0.0.<interface#+1> (?).
>Release-Note:
>Audit-Trail:

From: Brooks Davis <brooks@one-eyed-alien.net>
To: "Gary W. Swearingen" <swear@blarg.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: docs/35642: lo(4) page maybe should document optional "count".
Date: Thu, 7 Mar 2002 12:06:40 -0800

 On Thu, Mar 07, 2002 at 11:48:25AM -0800, Gary W. Swearingen wrote:
 > 
 > I'm not sure if this is an enhancement request or a bug, but the
 > /sys/net/if_loop.c's "loopattach" function gives a strong hint that the
 > synopsis of the lo(4) man page could (or should?) be changed from
 >      pseudo-device loop
 > to
 >      pseudo-device loop [ count ]
 > like the ppp pseudo-device has.
 
 I'd rather this wasn't.  This syntax is depricated and will not work in
 5.0 as of Monday.
 
 -- Brooks
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Fri Apr 14 19:54:50 UTC 2006 
State-Changed-Why:  
Now when we have cloned interfaces the PR is not applicable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35642 
>Unformatted:
