This perl script was posted to alt.sources by Tom Christiansen. If you know the number for the fsync syscall (usually in ) you should set $SYS_fsync appropriately for your system. However, a function has been provided which determines this for you at runtime, though it makes the script slightly slower on wiping the first file.