DF-0839 / run.sh
#!/bin/sh # Run the DF-0839 trigger against a file on a mounted HAMMER filesystem. # Must be run as root (HAMMERIOC_SET_VERSION requires SYSCAP_NOVFS_IOCTL). # Argument: path to a file on the HAMMER mount. if [ $# -lt 1 ]; then echo "usage: $0 <file-on-hammer-mount>" exit 2 fi ./trigger "$1" probe |