grub/grub-core/osdep/freebsd
James Clarke 0726ab2d54 osdep/freebsd: Fix partition calculation for EBR entries
For EBR partitions, "start" is the relative starting sector of the EBR
header itself, whereas "offset" is the relative starting byte of the
partition's contents, excluding the EBR header and any padding. Thus we
must use "offset", and divide by the sector size to convert to sectors.

Fixes Debian bug #923253.

Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Reviewed-by: Colin Watson <cjwatson@ubuntu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-09-21 16:43:55 -04:00
..
getroot.c osdep/freebsd: Fix partition calculation for EBR entries 2020-09-21 16:43:55 -04:00
hostdisk.c Ignore EPERM when modifying kern.geom.debugflags 2014-01-19 14:38:07 +00:00