Page MenuHomeFreeBSD

Fix zfs send -v, -P, -n, and -V again

Authored by sef on Sep 18 2019, 9:40 PM.
Referenced Files
Unknown Object (File)
Mon, Dec 4, 5:44 PM
Unknown Object (File)
Fri, Dec 1, 6:17 AM
Unknown Object (File)
Fri, Nov 17, 6:59 AM
Unknown Object (File)
Tue, Nov 14, 5:56 PM
Unknown Object (File)
Nov 2 2023, 3:18 AM
Unknown Object (File)
Sep 24 2023, 5:27 AM
Unknown Object (File)
Sep 10 2023, 6:07 PM
Unknown Object (File)
Sep 6 2023, 7:37 AM



avg@ noted that r344601 (which added -V, setting the process title during zfs send) had broken some of the output expected. He was right. It was a bone-head error on my part.

This seems to fix it. But let's try to get some reviews on it, I say.

Test Plan

Create a snapshot on a ZFS dataset, let's call it tank@SNAP1. Then check the following all behave as expected:

zfs send -n -v -P tank@SNAP1
zfs send -V -v -P tank@SNAP1 # note we need to send data, so we can check via ps that the process title has changed
zfs send -n -v tank@SNAP1

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable