Thanks for good messages!

Example A: Create encryption volume and decryption by bioctl
bioctl -c C -l /dev/sd0a softraid0

Example B: Create encryption volume and decryption by vnconfig
vnconfig -ck vnd0 /dev/sd0a

almost I use

Example C:
dd if=/dev/urandom of=.vnode bs=512M count=1
vnconfig -ck vnd0 .vnode
newfs vnd0c
mount /dev/vnd0c /mnt
umount /mnt
vnconfig -u vnd0

softraid encryption needs bioctl.
bioctl needs device name with disklabel.

Example D:
dd if=/dev/urandom of=.vnode.bio bs=512M count=1
vnconfig -ck vnd0 .vnode.bio #actually no needs encrytion
echo -n "a d\n0\n512M\nRAID\np\nw\nq" | disklabel -E vnd0

bioctl -c C -l vnd0d softraid0 #softraid0: CRYPTO volume attache as sd2
newfs /dev/rsd2c #it will be make other disklabel on sd2
dd if=/dev/zero of=/dev/sd2c bs=32k
echo -n "a e\n0\n256M\n4.2BSD\np\nw\nq" | disklabel -E sd2
echo -n "a i\n\n\nMSDOS\np\nw\nq" | disklabel -E sd2
newfs sd2e
newfs_msdos -F 32 sd2i
mount /dev/sd2e /mnt
mount_msdos /dev/sd2i /mnt2
umount /mnt2
umount /mnt
bioctl -d sd2

vnconfig -u vnd0

The OpenBSD "Full disk encryption" is actually no need tinking as Air.

And Any people (like a Rookie) didn't know how to solve the problems.
Who forget or confuse it. Need good suggestion.

in this case, I could get a good sugguestion.

Reply via email to