Commit Graph

139 Commits

Author SHA1 Message Date
77edc7c91c REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
1a39168f19 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
0b58866c2d Bumped version to 3.99.6.0. 2017-11-29 16:02:19 +00:00
8481f73b2c On GPT, corrected reading when total entries are less than a whole
sector size.
2017-11-08 17:44:39 +00:00
9b3f0dcca1 Added bound checks. 2017-11-08 17:05:00 +00:00
8fc390e624 Added support for ACT Apricot partitions. 2017-09-24 19:16:00 +01:00
92dbb79c85 Found all unknown fields in Apricot BPB. 2017-09-24 19:15:22 +01:00
367fdc8472 Added detection of absolute sector VTOC. 2017-09-17 05:27:59 +01:00
0c2e81bdc4 Corrected DragonFlyBSD when sector size divided by table size is not
integer.
2017-09-15 07:44:47 +01:00
4a0465d46d Correct partition start when map it's not on start of device. 2017-09-11 20:23:00 +01:00
5e29fb0c13 Version bumped to 3.5.99.0. 2017-09-05 17:21:24 +01:00
6d4c3f302d Moved switch block to string array. 2017-08-26 15:19:11 +01:00
71f1ccb3dd Finally got correct partition types. 2017-08-17 02:16:34 +01:00
4e33e06ef7 Added more comments about partition IDs. 2017-08-16 15:45:03 +01:00
01656b767b Added support for Plan9 partition tables. 2017-08-07 16:15:28 +01:00
1a843b0cce Check for real presence of a GPT not just their partition
types.
2017-08-07 16:12:08 +01:00
e5958ab60b Corrected handling of big-endian disklabels. 2017-08-07 16:10:27 +01:00
5ce40b68d0 Add more checks for partitions that end, or start, after end
of device.
2017-08-07 16:09:46 +01:00
5d8fabf3d0 Make sure that device partitions are handled if they're not
mapped by any scheme.
2017-08-07 16:06:51 +01:00
7adf8ae3ab Added type name for System V boot type. 2017-08-06 15:22:59 +01:00
ede4cead4b Added more sanity checks. 2017-08-03 01:30:33 +01:00
6694c21292 Corrected detection of valid partitions. 2017-08-03 01:15:11 +01:00
08425e9ccc Added disk geometry. 2017-08-02 23:01:11 +01:00
959d979230 Corrected PC-98 partition table size, it contains 8 entries
and works with 256 bytes/sector (SASI HDDs e.g.).
2017-08-02 20:45:18 +01:00
97e3a90eb0 Spurious key press. 2017-08-02 18:30:06 +01:00
e68cbc96a3 Added support for XENIX partition table. 2017-08-02 13:57:53 +01:00
5e8b47554c Corrected some NEC types. 2017-08-02 13:57:04 +01:00
aabd8996d9 Full rewrite, adding support for pdinfo and vtoc in several
revisions and a lot of debug.
2017-08-01 13:36:03 +01:00
06e0b3ac66 Changed VTOC plugin from UNIX to VTOC.
Added UNIX plugin for hardwired partition tables on old UNIX
	kernels.
	Added several DEC hard disks.
2017-07-31 14:42:11 +01:00
78abb9271d Name correction. 2017-07-30 16:09:43 +01:00
6b8779e75a Added support for pre-VTOC Sun disklabel (used in
sun1/sun2/sun3 ???), added support for 16 entries VTOC (used
	in i86pc) and corrected structures for 8 entries VTOC (used in
	sun4).
2017-07-30 15:53:42 +01:00
73e644469b Try to detect if offsets are relative to parent partition
(NetBSD) or not (FreeBSD).
2017-07-30 15:45:50 +01:00
069b72ec57 Added types, corrected filling, added device parameters and
debug output, now works.
2017-07-27 01:15:22 +01:00
c4795e4340 Big-endian, finally. 2017-07-27 01:14:39 +01:00
8cd63de25e Added support for big-endian disklabels, more positions, and
corrected calculations. Also, added more debug output.
2017-07-26 23:46:42 +01:00
e3cdf500f8 Corrected partition arithmetics. 2017-07-26 04:16:45 +01:00
08aca746ef Several copy/paste typos prevented MBR on optical discs to
work, corrected, also add partition at start of track in them
	if it appears as one entry.
2017-07-25 15:03:14 +01:00
fed6ecad33 Corrected type and name of minix subpartitions. 2017-07-25 03:27:58 +01:00
f705645f40 Added support for minix subpartitions. 2017-07-25 02:47:42 +01:00
9a5d52caab Added support for hybrid ISO/USB images with GPT and FAT
partitions.
2017-07-25 00:27:46 +01:00
72dd8d9179 Use generic method to search for partitions, supporting
partitions inside partitions. At the same time SGI DVH is
	disabled because it is not working correctly. Fixes #60
2017-07-24 23:35:33 +01:00
dad9ea8584 Early exit. 2017-07-24 04:51:08 +01:00
98d12076d5 Rewrote, solves infinite loop on extended partitions, supports
OnTrack and NEC extensions, supports optical discs, stops
	doing disklabels here (should be moved independently).
2017-07-24 04:05:38 +01:00
4b9d012346 Add field to propagate partition scheme on each partition. 2017-07-23 22:54:36 +01:00
f3e33aa7aa Don't ignore Apple_Free partitions, just ignore partitions
that extend past the device size.
2017-07-23 19:57:10 +01:00
290cb74540 Do not add drivers of size 0 neither Apple_Free partitions as
these can expand beyond the disc on optical media.
2017-07-20 13:12:36 +01:00
16434f2788 Refactor: Simplify field names. 2017-07-19 16:37:11 +01:00
319ff02274 Acorn RISC iX and Linux/ARM partition schemes require an ADFS
to be present from sector 0, so just add it.
2017-07-18 06:36:11 +01:00
77742808b8 Corrected partition sequencing. 2017-07-16 22:55:06 +01:00
9f051e117c Unlike what Inside Macintosh says, some implementations create
a Partition Map without a Driver Descriptor Map preceding it.
2017-07-15 01:36:13 +01:00