Skip to content

Instantly share code, notes, and snippets.

@maxjoehnk
maxjoehnk / zfs_revert.py
Created March 31, 2021 18:07 — forked from mkhon/zfs_revert.py
This is the original zfs_revert-0.1.py script by Martin Vool <[email protected]> for reverting ZFS transactions by destroying uberblocks, adapted for FreeBSD od (multiple spaces in output).
#!/usr/bin/python
# -*- coding: utf-8 -*-
#Script for reverting ZFS changes by destroying uberblocks
#Author: Martin Vool
#E-mail: [email protected]
#Version: 0.1
#Date: 16 November 2009