"""Create and fsync only a new run-owned host fixture, then exit.""" from pathlib import Path import hashlib import json import os import struct import sys directory=Path(sys.argv[1]) assert directory.is_dir() and not any(directory.iterdir()) nonce=os.urandom(32) source=nonce+bytes((i*37^(i>>5))&255 for i in range(1505)) disk=bytearray(b'\x6d'*(256*512)) header=bytearray(512) header[:8]=b'TURKFS\0\0' struct.pack_into('