https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222077

--- Comment #3 from Maxim Khitrov <m...@mxcrypt.com> ---
I think the same issue also affects geli metadata with 4k sector size. I was
able to reproduce this using the script below, but it took many iterations.
Once it happened, the same data was returned every time, so I think it's just a
matter of getting the right memory page allocated. The result is that the last
sector contains 512 bytes of metadata followed by 3584 bytes of uninitialized
memory.

#!/bin/sh
dd if=/dev/zero of=gelitest.md bs=8K count=1 status=none
md=$(mdconfig -f gelitest.md -S 4096) || exit
echo 'fakekey' | geli init -B none -K - -P $md || exit
mdconfig -du $md
hd gelitest.md

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to