I know we've all been there, that pause just before you hit the ENTER key, thinking "Is this going to do what I want?"
I was reminded of this earlier today, cleaning boot environments after doing freebsd-update. bectl list -s was showing me an extra snapshot
that I was "hmm where did that come from. It's not one auto generated by the freebsd-update install maybe from doing a bectl destroy and forgetting the -o"
so zfs destroy -nv snapshotname told me what I needed to know and up arrow delete the n and poof, all cleaned up.
Moral of the story, when you are unsure as to the end result, add a -nv (dry run and verbose) to your zfs command, it saves you from trying to ask the forum for help on "how do I undo this"

I was reminded of this earlier today, cleaning boot environments after doing freebsd-update. bectl list -s was showing me an extra snapshot
that I was "hmm where did that come from. It's not one auto generated by the freebsd-update install maybe from doing a bectl destroy and forgetting the -o"
so zfs destroy -nv snapshotname told me what I needed to know and up arrow delete the n and poof, all cleaned up.
Moral of the story, when you are unsure as to the end result, add a -nv (dry run and verbose) to your zfs command, it saves you from trying to ask the forum for help on "how do I undo this"
