Commit Graph
99 Commits
Author SHA1 Message Date
Kenneth Skovhede 9dd2fa343e Prevent picking partitions until support for this is better 2026-02-20 16:38:05 +01:00
Kenneth Skovhede 22c4f585ef Minor adjustments for WebUI picker 2026-02-20 15:29:25 +01:00
Kenneth Skovhede c467baf326 Made parsing more explicit with a formal structure for the outpu 2026-02-20 11:38:17 +01:00
Kenneth Skovhede 6d17888296 Fixed loading webmodule 2026-02-20 11:05:51 +01:00
Carl Johnsen 5793f4c410 Added web module for disk images 2026-02-19 19:55:01 +01:00
Carl Johnsen dc25eda096 Removed TODOs 2026-02-19 18:58:11 +01:00
Carl Johnsen e3499b3878 Changed a TODO to being a regular comment. 2026-02-19 18:56:09 +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 454dffc70e Added additional check for the requested disk number during auto unmounting. 2026-02-19 18:17:55 +01:00
Carl Johnsen 066e7cc7a6 Updated the restore provider to store the mountpoint 2026-02-19 18:16:55 +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 53aa494f47 Fixed auto mount powershell script 2026-02-16 11:26:23 +01:00
Carl Johnsen ce67996823 Added auto unmount option for disk image restore 2026-02-16 10:03:10 +01:00
Carl Johnsen e3caf5401d Added Windows I/O write error hints 2026-02-16 09:12:01 +01:00
Carl Johnsen b9839d0671 Disk image restore provider now tests write access properly 2026-02-16 09:10:10 +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 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 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 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 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