Skip to content

Instantly share code, notes, and snippets.

View masonmark's full-sized avatar
🕺
totally

Mason masonmark

🕺
totally
View GitHub Profile
@masonmark
masonmark / zfs_bug_15526_reproducer.sh
Last active November 25, 2023 05:54
zfs_bug_15526_reproducer.sh
#!/bin/bash
# masonmark 2023-11-25
#
# This is my modified reproducer.sh for https://github.com/openzfs/zfs/issues/15526
# Original: https://gist.github.com/tonyhutter/d69f305508ae3b7ff6e9263b22031a84#file-reproducer-sh
#
# This is my modified reproducer script, which just fixes the typo in
# the example command and comments out the initial if block. I did
# not need zfs_bclone_enabled to be set (the orginial script got a
@masonmark
masonmark / zfs-delegate-all.sh
Last active November 30, 2023 09:38 — forked from leopd/zfs-delegate-all.sh
Delegating all permissions to myself on zfs
export ZFS_FILESYSTEM=fixme_whatever
export ZFS_USER=fixme_whoever
sudo zfs allow -s @allperm allow,clone,create,destroy,mount,promote,receive,rename,rollback,send,share,snapshot $ZFS_FILESYSTEM
sudo zfs allow $ZFS_USER @allperm $ZFS_FILESYSTEM