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 |
The -n option was supported on SunOS 4, but on SunOS 5 (Solaris 2) -n works only when the file is to be used by NFS. Local swap files cannot be created with the -n option.