#!/bin/sh
# DF-2630 control run: identical forging but pfs_nmasters=1 (clamped).
# Proves causality: the ONLY difference vs wedge.img is one byte.
set -x
D=/root/poc/df2630
vnconfig -u vn1 2>/dev/null
vnconfig -c vn1 /root/poc/control.img
mkdir -p /mnt/h2c
mount -t hammer2 -o ro /dev/vn1@testvol /mnt/h2c
echo "CONTROL_MOUNT_RC=$?"
ls /mnt/h2c
echo "CONTROL_LS_RC=$?"
umount /mnt/h2c
echo "CONTROL_UMOUNT_RC=$?"
vnconfig -u vn1
echo CONTROL_DONE
