NetBSD Problem Report #42121

From www@NetBSD.org  Thu Sep 24 16:50:00 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7DCDF63B8DF
	for <gnats-bugs@gnats.netbsd.org>; Thu, 24 Sep 2009 16:50:00 +0000 (UTC)
Message-Id: <20090924165000.3B3A263B850@www.NetBSD.org>
Date: Thu, 24 Sep 2009 16:50:00 +0000 (UTC)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: swapctl -l does not indicate dump device
X-Send-Pr-Version: www-1.0

>Number:         42121
>Category:       bin
>Synopsis:       swapctl -l does not indicate dump device
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 24 16:50:01 +0000 2009
>Closed-Date:    Thu Sep 24 17:05:55 +0000 2009
>Last-Modified:  Thu Sep 24 17:05:55 +0000 2009
>Originator:     Paul Goyette
>Release:        NetBSD 5.99.18 as of 2009-09-20 04:50:10)
>Organization:
>Environment:
NetBSD quicky.whooppee.com 5.99.18 NetBSD 5.99.18 (QUICKY (ASUS M2N32 WS) 2009-09-20 04:50:10) #0: Sat Sep 19 23:55:58 PDT 2009  paul@speedy.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/QUICKY amd64

>Description:
swapctl -l can be used to list the swap files that were configured with swapctl.

But there is no (apparent) way to determine where coredumps are configured, or even if a dumpfile is configured at all!
>How-To-Repeat:
quicky:paul {101} swapctl -l
Device      1K-blocks     Used    Avail Capacity  Priority
/dev/wd0b    10240272   327608  9912664     3%    0
/dev/wd1b     5120136   327808  4792328     6%    0
Total        15360408   655416 14704992     4%
quicky:paul {102} swapctl -D /dev/wd0b
swapctl: setting dump device to /dev/wd0b
quicky:paul {103} swapctl -l
Device      1K-blocks     Used    Avail Capacity  Priority
/dev/wd0b    10240272   327608  9912664     3%    0
/dev/wd1b     5120136   327808  4792328     6%    0
Total        15360408   655416 14704992     4%
quicky:paul {104} 
>Fix:

>Release-Note:

>Audit-Trail:
From: Alan Barrett <apb@cequrux.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/42121: swapctl -l does not indicate dump device
Date: Thu, 24 Sep 2009 18:56:28 +0200

 On Thu, 24 Sep 2009, paul@whooppee.com wrote:
 > swapctl -l can be used to list the swap files that were configured
 > with swapctl.
 > 
 > But there is no (apparent) way to determine where coredumps are
 > configured, or even if a dumpfile is configured at all!

 Is "swapctl -z" good enough?

 --apb (Alan Barrett)

From: Paul Goyette <paul@whooppee.com>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: bin/42121: swapctl -l does not indicate dump device
Date: Thu, 24 Sep 2009 10:03:23 -0700 (PDT)

 Yeah - I wonder how I missed that!

 I'll close the PR - sorry for the noise.


 On Thu, 24 Sep 2009, Alan Barrett wrote:

 > The following reply was made to PR bin/42121; it has been noted by GNATS.
 >
 > From: Alan Barrett <apb@cequrux.com>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: bin/42121: swapctl -l does not indicate dump device
 > Date: Thu, 24 Sep 2009 18:56:28 +0200
 >
 > On Thu, 24 Sep 2009, paul@whooppee.com wrote:
 > > swapctl -l can be used to list the swap files that were configured
 > > with swapctl.
 > >
 > > But there is no (apparent) way to determine where coredumps are
 > > configured, or even if a dumpfile is configured at all!
 >
 > Is "swapctl -z" good enough?
 >
 > --apb (Alan Barrett)
 >
 >

 -------------------------------------------------------------------------
 |   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
 | Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
 | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
 | Kernel Developer |                          | pgoyette at netbsd.org  |
 -------------------------------------------------------------------------

State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Thu, 24 Sep 2009 17:05:55 +0000
State-Changed-Why:
As pointed out by Alan barret, this is already handledd by
swapctl -z


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.