Commit Graph
13188 Commits
Author SHA1 Message Date
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
Carl Johnsen bf4843c83f Added writing the partition tables as well 2026-02-13 06:58:23 +01:00
Carl Johnsen a962c13d10 Added unaligned writes for Windows disks 2026-02-13 06:57:29 +01:00
Carl Johnsen 927a138847 Added more descriptive error messages on Windows disks 2026-02-13 06:56:59 +01:00
Carl Johnsen e343d667ee More consitent parsing 2026-02-12 16:54:53 +01:00
Carl Johnsen e12b988aa4 Use system library calls instead of "homegrown" 2026-02-12 16:54:35 +01:00
Carl Johnsen 186b6b4b93 More detailed windows error messages. The first restore has been performed! 2026-02-12 13:17:28 +01:00
Carl Johnsen 10f21d1d0e Added more parsing of the geometry files to reconstruct the disk related classes 2026-02-12 13:16:58 +01:00
Carl Johnsen e84b173286 General fixes to disk image backup, backup works again 2026-02-10 19:11:17 +01:00
Carl Johnsen 881facd10e Adapted the interfaces and implementation to match the new disk image restore rework 2026-02-10 12:30:43 +01:00
Carl Johnsen b31d7f0967 Reworked the restore provider for more direct access to the underlying disk image types 2026-02-10 11:05:05 +01:00
Carl Johnsen 0592324f8a Geometry file should serialize enums as text for future flexibility 2026-02-10 10:43:21 +01:00
Carl Johnsen 27820f9c4f Added special handling of the geometry file 2026-02-09 15:16:20 +01:00
Carl Johnsen 78578c8f4c DiskImage should have geometry as its priority file. 2026-02-09 15:12:14 +01:00
Carl Johnsen 04e9b2e1b8 The geometry file should be recorded during backup. 2026-02-09 14:53:14 +01:00
Carl Johnsen 78ce5e6007 Removed old metadata files, which are now in the new geometry file 2026-02-09 13:13:27 +01:00
Carl Johnsen ced4ed8ea4 Legacy restore now also restores priority files first 2026-02-09 12:41:55 +01:00
Carl Johnsen 8f5bc4c5a8 Added proper detection of the disk geometry file 2026-02-09 12:28:40 +01:00
Carl Johnsen e9012ada05 Added synchronization of priority files prior to restoring regular files 2026-02-09 12:28:21 +01:00