ref: 26c03933a763847ef9f238e9eee976f93b9ff1da
parent: e2fcebee26510421db69fc881cc423403839a97d
	author: cinap_lenrek <cinap_lenrek@felloff.net>
	date: Sun Nov 19 10:42:15 EST 2017
	
inst/mounthjfs: use /dev/swap instead of #c/swap to determine memory size (thanks aap)
--- a/rc/bin/inst/mounthjfs
+++ b/rc/bin/inst/mounthjfs
@@ -22,7 +22,7 @@
fs=$rd
export fs
-	mem=`{awk ' $2 == "pagesize" { p = $1 } $2 == "user" { split($1, a, "/"); print int((a[2] * p / 4 + 1048575) / 1048576)  } ' '#c'/swap}+	mem=`{awk ' $2 == "pagesize" { p = $1 } $2 == "user" { split($1, a, "/"); print int((a[2] * p / 4 + 1048575) / 1048576)  } ' /dev/swap}prompt -d $mem 'Size of RAM filesystem cache (MB)?'
fsflags=(-m $rd)
export fsflags
--
⑨