A swapfile was created with the command:
# mkfile -nv 50m /ab/swap_50mb
# swap -a /ab/swap_50mb
/ab/swap_50mb may contain holes - can't swap on it. /ab/swap_50mb: Error 0