OpenGrok
Cross Reference: defsizes.h
xref
: /
src
/
usr.sbin
/
sysinst
/
defsizes.h
Home
|
History
|
Annotate
|
Download
|
only in
sysinst
History log of
/src/usr.sbin/sysinst/defsizes.h
Revision
Date
Author
Comments
1.4
12-Jun-2019
martin
Rework internal data structures and "interfaces to user interface" functions
to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which
obviously breaks large disk setups. Also many MD parts and parts of the
user interface assumed (a) a struct disklabel is used internally to
store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should
be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions
and most parts of it are only accessed via accessor functions provided
by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely
RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as
"outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme,
some of which return pointers to special user interface descriptors
(e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but
noticable. A new Anita is needed for automatic test setups - many thanks
to Andreas Gustafsson for lots of early testing and a new Anita version,
and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
1.3
17-Nov-2018
martin
branches: 1.3.2; 1.3.4;
Add default for debug sets size
1.2
16-Nov-2018
martin
Sync install size estimates with current reality
1.1
15-Nov-2018
martin
Make use of the new positional parameters to better describe the first
partitioning step. Remove size limits/hints encoded in the translations
and replace them by values from the code.
1.3.4.3
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
1.3.4.2
10-Jun-2019
christos
Sync with HEAD
1.3.4.1
17-Nov-2018
christos
file defsizes.h was added on branch phil-wifi on 2019-06-10 22:10:38 +0000
1.3.2.2
26-Nov-2018
pgoyette
Sync with HEAD, resolve a couple of conflicts
1.3.2.1
17-Nov-2018
pgoyette
file defsizes.h was added on branch pgoyette-compat on 2018-11-26 01:52:55 +0000
Indexes created Tue Sep 30 10:09:55 GMT 2025