[Bug 252585] dump partition in /etc/fstab being used as swap

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 12 16:53:21 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252585

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
>From rc.conf(5):

     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".

Can you confirm that setting dumpdev=/dev/ada0p4 addresses the issue?


What we probably need to do is change the logic to:

If the value of this variable is "AUTO", the first dump device listed in
/etc/fstab will be used, or the first suitable swap device if no dump device is
found.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list