From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 20:50:05 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB4AA16A4CE for ; Fri, 29 Apr 2005 20:50:05 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B906443D1D for ; Fri, 29 Apr 2005 20:50:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TKo502069549 for ; Fri, 29 Apr 2005 20:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TKo5m0069547; Fri, 29 Apr 2005 20:50:05 GMT (envelope-from gnats) Date: Fri, 29 Apr 2005 20:50:05 GMT Message-Id: <200504292050.j3TKo5m0069547@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Subject: Re: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 20:50:06 -0000 The following reply was made to PR bin/80468; it has been noted by GNATS. From: Maxim Konovalov To: Palle Girgensohn Cc: des@freebsd.org, bug-followup@freebsd.org Subject: Re: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented Date: Sat, 30 Apr 2005 00:43:03 +0400 (MSD) > >Release: FreeBSD 5.4-PRERELEASE i386 [...] > >Description: > the man page for rc.conf: > > dumpdev (str) Indicates the device (usually a swap partition) to > which a crash dump should be written in the event of a system > crash. If the value of this variable is ``AUTO'', the first > suitable swap device listed in /etc/fstab will be used as > dump device. Otherwise, the value of this variable is passed > as the argument to dumpon(8). To disable crash dumps, set > this variable to ``NO''. > > but the /etc/rc.d/savecore script will fail if dumpdev="AUTO", since > the code described in the man page seems not to be implemented. I > couldn't get dumpon to work either. > >How-To-Repeat: > set dumpdev="AUTO" in rc.conf > crash the machine and you won't be able to retrieve a crash dump (grr) This part of man page was accidentally merged from HEAD in rev. 1.221.2.7. Perhaps better to MFC etc/rc.d/savecore from HEAD too. -- Maxim Konovalov