14 start_cmd="zvol_start"
16 required_modules="zfs"
20 # Enable swap on ZVOLs with property org.freebsd:swap=on.
21 zfs list -H -o org.freebsd:swap,name -t volume | \
22 while read state name; do
25 swapon /dev/zvol/${name}
33 # Disable swap on ZVOLs with property org.freebsd:swap=on.
34 zfs list -H -o org.freebsd:swap,name -t volume | \
35 while read state name; do
38 swapoff /dev/zvol/${name}