Partition encryption in FreeBSD

geom_eli_load="YES"
# kldload geom_eli
# dd if=/dev/random of=/root/home.key bs=64 count=1
# geli init -s 4096 -K /root/home.key /dev/ada4p1
# geli attach -k /root/home.key /dev/ada4p1
# newfs -Uj /dev/ada4p1.eli
geli_devices="ada4p1"
geli_ada4p1_flags="-k /root/home.key"