summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_time.c
diff options
context:
space:
mode:
authorMichael Brown2017-03-26 20:03:50 +0200
committerMichael Brown2017-03-26 20:03:50 +0200
commitebceb8ad8a5c3ad58ecbe513174c3620592d5976 (patch)
tree1afadcb3273eb45a10832dba97e02434834fff36 /src/interface/linux/linux_time.c
parent[block] Add basic multipath support (diff)
downloadipxe-ebceb8ad8a5c3ad58ecbe513174c3620592d5976.tar.gz
ipxe-ebceb8ad8a5c3ad58ecbe513174c3620592d5976.tar.xz
ipxe-ebceb8ad8a5c3ad58ecbe513174c3620592d5976.zip
[int13] Improve geometry guessing for unaligned partitions
Some partition tables have partitions that are not aligned to a cylinder boundary, which confuses the current geometry guessing logic. Enhance the existing logic to ensure that we never reduce our guesses for the number of heads or sectors per track, and add extra logic to calculate the exact number of sectors per track if we find a partition that starts within cylinder zero. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_time.c')
0 files changed, 0 insertions, 0 deletions