bin/80468: rc.conf's "dumpdev" does not accept AUTO as
documented
Maxim Konovalov
maxim at macomnet.ru
Fri Apr 29 13:50:06 PDT 2005
The following reply was made to PR bin/80468; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Palle Girgensohn <girgen at rambutan.pingpong.net>
Cc: des at freebsd.org, bug-followup at 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
More information about the freebsd-bugs
mailing list