grub/grub-core/osdep/freebsd
James Clarke 222cb8f6df 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>
2019-03-05 10:21:54 +01:00
..
getroot.c osdep/freebsd: Fix partition calculation for EBR entries 2019-03-05 10:21:54 +01:00
hostdisk.c Ignore EPERM when modifying kern.geom.debugflags 2014-01-19 14:38:07 +00:00