diff options
author | marcel <marcel@FreeBSD.org> | 2009-02-21 19:25:13 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2009-02-21 19:25:13 +0000 |
commit | ef2c45517283867221ddf0db10565c7ca9c93bce (patch) | |
tree | 7544fbb16a32db8b0a9c93a7fe93c306a828c0be /sys/vm | |
parent | d6b23ce1539543a5cc3dfe32ca002797fb016713 (diff) | |
download | FreeBSD-src-ef2c45517283867221ddf0db10565c7ca9c93bce.zip FreeBSD-src-ef2c45517283867221ddf0db10565c7ca9c93bce.tar.gz |
o When creating the EBR scheme, set the number of entries
properly. Otherwise the minimum of 1 is used and you can
only insert a single partition/slice and only at sector
0 (index 1).
o When adding a partition/slice, recalculate the index after
the start and size of the partition/slice are adjusted to
make them a multiple of the track size. Since the precheck
method sets the index based on the start of the partition
as provided by the user, we know that we're off by at most
1 and adjusting the index is safe.
Diffstat (limited to 'sys/vm')
0 files changed, 0 insertions, 0 deletions