Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 20:50:05 GMT
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented
Message-ID:  <200504292050.j3TKo5m0069547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/80468; it has been noted by GNATS.

From: Maxim Konovalov <maxim@macomnet.ru>
To: Palle Girgensohn <girgen@rambutan.pingpong.net>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504292050.j3TKo5m0069547>