Commit Graph
13275 Commits
Author SHA1 Message Date
Carl Johnsen b9839d0671 Disk image restore provider now tests write access properly 2026-02-16 09:10:10 +01:00
Carl Johnsen ef17e2de22 Removed debug project reference from solution file 2026-02-15 18:03:43 +01:00
Carl Johnsen ae543733f3 Removed debug project launch configuration 2026-02-15 18:02:57 +01:00
Carl Johnsen 9c91820832 Mount point should only have the directory seperator appended if it's set 2026-02-15 17:37:46 +01:00
Carl Johnsen 594efeca04 Merge branch 'master' into feature/full-disk-backup 2026-02-15 16:42:08 +01:00
Carl Johnsen 509ba3abcf Removed disk image debug program 2026-02-15 16:36:05 +01:00
Carl Johnsen 71e6c3eb17 Simplified disk image source providers EnumerateRecursive 2026-02-15 16:35:26 +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 fa42834542 Avoid copy in capture stream 2026-02-15 13:42:49 +01:00
Carl Johnsen a3d3c0c191 Eliminated more redundant buffering. 2026-02-15 13:37:14 +01:00
Carl Johnsen d4531ee582 Eliminated double buffering in the unknown file system 2026-02-15 13:27:37 +01:00
Carl Johnsen 268a94d7fa Added reusable buffers and zero copy reads 2026-02-15 13:13:01 +01:00
Carl Johnsen 4845c22233 Added docstrings 2026-02-15 12:45:59 +01:00
Carl Johnsen 79e7be8983 Moved the rest of the disk image test files to the disk image folder 2026-02-15 11:46:45 +01:00
Carl Johnsen 84dd4dab1a Abstracted disk helper methods into operating system specific constituents 2026-02-15 11:45:52 +01:00
Carl Johnsen 32507379b0 Enabled and handled nullable in DiskImage tests 2026-02-15 11:14:13 +01:00
Carl Johnsen 9dfb1a683c Added additional waiting on host when dealing with disks. 2026-02-15 11:12:46 +01:00
Carl Johnsen 3f14cf5439 Known filesystems are treated as unknown until a driver is present 2026-02-15 11:12:08 +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 caf5f82699 Unknown partition table was missing from a switch 2026-02-15 10:03:18 +01:00
Carl Johnsen 0a9707b905 More windows disk management fixes to make changes visible 2026-02-15 10:02:00 +01:00
Carl Johnsen b04206b9ff Changed vhd helper to use a powershell session, instead of a new process for each call 2026-02-15 09:59:54 +01:00
Carl Johnsen d99f65ed3f All tests now correctly mounts and unmounts 2026-02-14 09:28:14 +01:00
Carl Johnsen 18540128ae Main enumeration only returns disk. The disk must also be enumerated 2026-02-14 08:35:07 +01:00
Carl Johnsen a64fb1ac3d Changed sync async calls in async method to async async calls 2026-02-14 08:34:46 +01:00
Carl Johnsen 83b67fa0e8 Handled permission issues when comparing contents of two disks 2026-02-14 08:21:49 +01:00
Carl Johnsen f539abd42c Fixed project reference path 2026-02-13 16:52:06 +01:00
Carl Johnsen 537c85b690 Concurrency fixes 2026-02-13 16:51:53 +01:00
Carl Johnsen d833aca0d5 Handled online disks during restore 2026-02-13 16:48:52 +01:00
Carl Johnsen 02a9ea590a Changed to vhdx 2026-02-13 16:48:25 +01:00
Carl Johnsen bd24660ef3 List needs an asterix to list files not just filesets 2026-02-13 16:48:15 +01:00
Carl Johnsen d73449f34f Added methods for readying the disk for restore 2026-02-13 16:46:11 +01:00
Carl Johnsen 10be6fe6c8 Changed vhd helper to a powershell based approach from a diskpart approach. Also changed from vhd to vhdx 2026-02-13 16:44:37 +01:00
Carl Johnsen bc5dc36658 Added dumber geometry file detection for debugging 2026-02-13 16:43:15 +01:00
Carl Johnsen 63f460ac21 Ensured that all blocks reported by an unknown file system are larger than 0 2026-02-13 16:42:37 +01:00
Carl Johnsen cf9eb24254 Added bound checking to raw disk read for better error messages 2026-02-13 16:42:09 +01:00
Carl Johnsen 79c4cec029 Handled the access denied on flushing during reading of a disk 2026-02-13 16:41:46 +01:00
Carl Johnsen dec893fb7f Added unit tests for disk image backup 2026-02-13 09:41:47 +01:00
Carl Johnsen 377d638750 Fixed a bug where an aligned write would be incorrect by an additional sector 2026-02-13 09:02:06 +01:00
Carl Johnsen ada1ac9d02 Added some more debug code for dumping data read from disks 2026-02-13 06:59:21 +01:00