HomeFreeBSD

stabd/geli: Bail out if you can't get the disks size

Description

stabd/geli: Bail out if you can't get the disks size

If the DIOCGMEDIASIZE ioctl fails, assume the disk doesn't have geli
encryption. While all disks should implement this, fail safe for disks /
partitions that do not.

Sponsored by: Netflix

(cherry picked from commit 787df454c8175e58131f582c05c169070fb6ca7c)

Details

Provenance
impAuthored on Oct 21 2022, 11:39 PM
Parents
rGcf39b45a3043: kboot: hostdisk add to lsdev output
Branches
Unknown
Tags
Unknown