diff options
author | 1999-03-16 04:27:20 +0000 | |
---|---|---|
committer | 1999-03-16 04:27:20 +0000 | |
commit | 4b9a3bda12a9137189db611cde3f6cff53250a27 (patch) | |
tree | 034aa72511b3978bf68b5e2c536a29ba06fcc764 /sys/dev/isa/pnpdevs.h | |
parent | merge with freesbd: (diff) | |
download | wireguard-openbsd-4b9a3bda12a9137189db611cde3f6cff53250a27.tar.xz wireguard-openbsd-4b9a3bda12a9137189db611cde3f6cff53250a27.zip |
Fix longstanding problem when rounding values to neared cylinder.
We used to just round the size to make size % secpercyl == 0. Now
it makes (size + offset) % secpercyl == 0 so partitions end on a
cylinder bondary (which was the original intent). The problem with
the old method is that if you have an fdisk table on the disk, 'a'
will start somewhere between 32 and 63, throwing off the calculations.
Diffstat (limited to 'sys/dev/isa/pnpdevs.h')
0 files changed, 0 insertions, 0 deletions