From fullermd@over-yonder.net Fri May 14 07:02:05 1999
Return-Path: <fullermd@over-yonder.net>
Received: from mortis.futuresouth.com (mortis.futuresouth.com [209.45.228.14])
	by hub.freebsd.org (Postfix) with ESMTP id C65291541E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 May 1999 07:02:05 -0700 (PDT)
	(envelope-from fullermd@over-yonder.net)
Received: by mortis.futuresouth.com (Postfix, from userid 100)
	id 418111F09; Fri, 14 May 1999 09:02:05 -0500 (CDT)
Message-Id: <19990514140205.418111F09@mortis.futuresouth.com>
Date: Fri, 14 May 1999 09:02:05 -0500 (CDT)
From: fullermd@over-yonder.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: swapon(8) references strange devices
X-Send-Pr-Version: 3.2

>Number:         11709
>Category:       docs
>Synopsis:       swapon(8) references strange devices
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 14 07:10:01 PDT 1999
>Closed-Date:    Fri May 28 16:49:48 PDT 1999
>Last-Modified:  Fri May 28 16:50:50 PDT 1999
>Originator:     Matthew D. Fuller
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	Irrelevant

>Description:

	swapon(8) has some strange device references.
	Under the 'FILES' section, the following appears:
     /dev/[ru][pk]?b  standard paging devices

>How-To-Repeat:

	man 8 swapon

>Fix:
	
	I'm not sure.  I don't know what /dev/[ru][pk]?b ARE, so I can't be
	sure they're wrong, though I don't have any such devices on my
	system.  Presuming that it should be the 'normal' swap partitions (a
	quite possibly flawed assumption), the appended patch will match it
	up.  Else, Something Should Be Done (tm) to bring it more into line
	with reality.  Though the fact that it's lasted this long without
	being pegged by somebody is a sign (maybe that nobody ever reads it ;)


Index: swapon.8
===================================================================
RCS file: /usr/cvs/src/sbin/swapon/swapon.8,v
retrieving revision 1.10
diff -u -r1.10 swapon.8
--- swapon.8	1998/08/03 06:35:01	1.10
+++ swapon.8	1999/05/14 13:59:36
@@ -76,8 +76,8 @@
 .Xr rc 8 ,
 .Xr vnconfig 8
 .Sh FILES
-.Bl -tag -width /dev/[ru][pk]?b -compact
-.It Pa /dev/[ru][pk]?b
+.Bl -tag -width /dev/{wd,da}?b -compact
+.It Pa /dev/{wd,da}?b
 standard paging devices
 .It Pa /etc/fstab
 ascii filesystem description table


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Fri May 28 16:49:48 PDT 1999 
State-Changed-Why:  
Fixed in swapon.8:1.11 by jkoshy, but the PR wasn't closed. 
>Unformatted:
