]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dumpon: skip size check if using zstd
authorEric van Gyzen <vangyzen@FreeBSD.org>
Tue, 3 Mar 2020 22:14:23 +0000 (22:14 +0000)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Tue, 3 Mar 2020 22:14:23 +0000 (22:14 +0000)
commit7bef70737b71b2c5e34a55e819b0589a62a4dceb
tree923a87c747cc4fd9dcd258b6ac7ae2daa56f5664
parent1b8b041ce9768a3c4ddaf0895957e11416ad0a7e
dumpon: skip size check if using zstd

As with gzip, let the dump device be smaller than physical memory
when using zstd and full dumps.

Also print the error message if the size check fails, even if -v
is not specified.  Failing silently is not friendly.

Reviewed by: cem markj
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D23923
sbin/dumpon/dumpon.c