Commit Graph
54 Commits
Author SHA1 Message Date
Kenneth Skovhede 8d9ebaa0a4 Minor style fixes 2026-05-04 11:15:51 +02:00
Carl Johnsen 4aeb7b2f0b Bumped year in license 2026-04-29 14:06:05 +02:00
Carl Johnsen 9a7e6d2c1e Merge branch 'master' into feature/full-disk-ntfs 2026-04-29 14:05:20 +02:00
Carl Johnsen 523b5012ea _position and _length are relative to the current partition, not where it's placed globally 2026-04-29 11:45:53 +02:00
Carl Johnsen 10aed49bbc Only read from disk when the read is requested 2026-04-29 10:21:57 +02:00
Carl Johnsen 66abac4797 GUID check was failing because it was stored in lower case, but the constant was upper case. 2026-04-20 13:49:02 +02:00
Carl Johnsen f213ebc672 Added NTFS detection to GPT and MBR 2026-04-17 06:56:53 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Carl Johnsen 2b5db218ad Post restructure namespace fixes 2026-03-16 11:10:20 +01:00
Carl Johnsen 20ff1c73b1 Restructured Disk Image related files 2026-03-16 11:10:20 +01:00
Carl Johnsen 4267fffa95 Have auto detection of file system on partition when the type cannot be determined from the partition table 2026-03-13 12:48:21 +01:00
Carl Johnsen e5e546ee27 Handled bogus data cropping up when running multiple tests 2026-03-11 15:28:59 +01:00
Carl Johnsen ca1fb3ac9b Restructured the DiskImage project to lift the OS specific disk listings to the disk interface and to centralize the functionality for running external processes 2026-03-05 15:30:36 +01:00
Carl Johnsen 01448a6da0 Apple partition types were missing from the MBR constants 2026-02-25 13:25:05 +01:00
Carl Johnsen d92a8dfe18 Partition entries were (incorrectly) hardcoded to 4. 2026-02-25 10:38:45 +01:00
Carl Johnsen a16593111c Apple partition type GUIDs were unused 2026-02-25 10:38:25 +01:00
Carl Johnsen 4aed5b4028 Recalculated CRC header needs to be cleared before recalculation 2026-02-23 22:54:05 +01:00
Carl Johnsen 880c086f21 Ensure that GPT boot code is zeroed 2026-02-23 22:51:34 +01:00
Carl Johnsen 4a2957f59f A partition doesn't need a name in the GPT table 2026-02-23 22:51:16 +01:00
Carl Johnsen 30aec291f9 Detecting the protective MBR should read a sector, not just MBR size 2026-02-23 11:48:59 +01:00
Carl Johnsen cf5bb051fe Changed from BitConverter to BinaryPrimitives to ensure endian-ness across host systems. 2026-02-19 18:55:17 +01:00
Carl Johnsen 3d6e8f3db5 Changed disk image specific classes to being internal, so they're not accessed externally. 2026-02-19 18:16:36 +01:00
Carl Johnsen c2c81c3dd0 Moved partition table synthesis to it's own file 2026-02-15 16:29:40 +01:00
Carl Johnsen e1e454d200 Centralized common MBR definitions 2026-02-15 16:21:16 +01:00
Carl Johnsen 652f6a9593 Centralized common GPT GUID definitions 2026-02-15 16:16:21 +01:00
Carl Johnsen cdc47c252a Removed duplicate crc32 implementations 2026-02-15 16:09:52 +01:00
Carl Johnsen 1702e60df0 Moved constants to a common file 2026-02-15 16:04:34 +01:00
Carl Johnsen 18cf9d58cf Merged the recontstructed partition tables into one 2026-02-15 15:58:30 +01:00
Carl Johnsen bd36800789 Made a base partition implementation 2026-02-15 15:22:54 +01:00
Carl Johnsen 67e9eecb0c Removed duplicate PartitionWriteStream implementations 2026-02-15 15:11:08 +01:00
Carl Johnsen b52e0cfcda Changed to pooled buffer allocations to improve performance 2026-02-15 14:47:07 +01:00
Carl Johnsen 0568a9e46f Changed to span slices rather than array slices 2026-02-15 13:53:03 +01:00
Carl Johnsen a3d3c0c191 Eliminated more redundant buffering. 2026-02-15 13:37:14 +01:00
Carl Johnsen 4845c22233 Added docstrings 2026-02-15 12:45:59 +01:00
Carl Johnsen a7caf62a30 MBR type offset was incorrect 2026-02-15 10:48:07 +01:00
Carl Johnsen 9bd94e8ea7 Reuse already read MBR bytes 2026-02-15 10:03:46 +01:00
Carl Johnsen d32a39108f Directly write files rather than caching them locally for disk image restore. 2026-02-06 12:53:33 +01:00
Carl Johnsen 4ffb8adf20 Added restore of partition tables 2026-02-06 06:46:48 +01:00
Carl Johnsen 93cbbb203e Added unknown partition table and partition type 2026-02-05 09:35:16 +01:00
Carl Johnsen fdf778da71 Renamed namespace to follow folder restructuring 2026-02-04 11:13:44 +01:00
Carl Johnsen 4f1dedb54d The raw disk has to be nullable since we allow for byte[] parsing (used for debugging) 2026-02-04 11:09:04 +01:00
Carl Johnsen 84b2bafea3 Changed the interface to be able to go "upwards" at all times 2026-02-04 10:40:47 +01:00
Carl Johnsen b2ffa91aa2 Restructured the interfaces 2026-02-04 09:42:38 +01:00
Carl Johnsen 3789a50632 Added parsing of the partition type and filesystem type for GPT partition tables 2026-02-04 08:57:33 +01:00
Carl Johnsen 41eefec8e8 Added verification of the secondary GPT header 2026-02-04 08:35:15 +01:00
Carl Johnsen 7a729192fb The partitions collection should only be set in the core parsing 2026-02-04 08:17:48 +01:00
Carl Johnsen 274f1c71c5 When reading a disk raw, read size always has to be sector size 2026-02-04 07:50:49 +01:00
Carl Johnsen 0fa8450d5a Added automatic partition table detection 2026-02-03 20:40:33 +01:00
Carl Johnsen deaec94992 The disk handle for the partition table is nullable 2026-02-02 16:10:16 +01:00
Carl Johnsen c9a20fb082 Partitions should be disposable 2026-02-02 16:08:37 +01:00