1
0
zfs-test/bin/create-test-setup/edit-part-of-file
2024-01-28 09:53:36 -08:00

6 lines
201 B
Bash
Executable File

#!/bin/sh
dd if=/dev/urandom of=random-1M bs=1M count=1
zfs snap tank/test@first
sleep 0.001 # sleep long enough to ensure mtime is different
dd if=/dev/urandom of=random-1M bs=1k count=1 conv=notrunc