Lines Matching +full:2 +full:gb
12 # 2. Redistributions in binary form must reproduce the above copyright
66 # and vm.swap_maxpages / 2 (the limit that elicits a warning).
68 # up to 4 GB twice memory size
69 # 4 GB - 8 GB 8 GB
70 # over 8 GB memory size
78 swapmax=$(($memsize * 2))
87 vm_swap_max=$(($(sysctl -n vm.swap_maxpages) / 2 * $pagesize))
100 $2 == "Name:" { dev = $3 }
101 $1 == "type:" && $2 == "freebsd-swap" { swapdev = dev }
111 FSTYPE=$(mount -p | awk '{ if ( $2 == "/") { print $3 }}')
112 FSDEV=$(mount -p | awk '{ if ( $2 == "/") { print $1 }}')
155 swapsize="$(kenv -q growfs_swap_size 2>/dev/null)"
192 type[lvl] = $2
202 # Do not add swap on disks under 15 GB (decimal) by default.
283 gpart commit "$diskdev" 2> /dev/null