Commit Graph
13161 Commits
Author SHA1 Message Date
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
Carl Johnsen 92ed7e6757 Removed whitespace 2026-02-09 12:27:49 +01:00
Carl Johnsen 3fe57b308d Added functionality for priority files for restore providers 2026-02-09 11:36:15 +01:00
Carl Johnsen fbaf2968c6 Added parsing of disk image related information from the given path. 2026-02-09 09:37:43 +01:00
Carl Johnsen bed56c4d9e Added more restore functionality 2026-02-06 13:32:30 +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 7a041f8e79 Overwrite isn't a requirement for disk image restore 2026-02-06 12:39:24 +01:00
Carl Johnsen 0bba2fb986 Mountpoint is not supported for disk image backup 2026-02-06 12:16:23 +01:00
Carl Johnsen 2c8c9b5082 Specify disk device through url rather than option 2026-02-06 10:53:44 +01:00
Carl Johnsen 4ffb8adf20 Added restore of partition tables 2026-02-06 06:46:48 +01:00
Carl Johnsen 71d0340657 Added recording of disk related metadata during backup 2026-02-06 06:20:09 +01:00
Carl Johnsen 7a71dc3e31 First implementation of disk image restore 2026-02-06 06:05:34 +01:00
Carl Johnsen 9d8426d82a First backup of a Windows disk complete! 2026-02-05 21:42:04 +01:00
Carl Johnsen f97ea51cf7 Made the disk paths be more clear / descriptive 2026-02-05 14:20:43 +01:00
Carl Johnsen 09c6f895b1 Unkown filesystem detected incorrectly 2026-02-05 14:20:15 +01:00
Carl Johnsen 67db9a72f1 Added the disk image source provider 2026-02-05 11:15:12 +01:00
Carl Johnsen fadd95f7c2 Added initial source provider implementation for disks 2026-02-05 11:14:01 +01:00
Carl Johnsen 93cbbb203e Added unknown partition table and partition type 2026-02-05 09:35:16 +01:00
Carl Johnsen 74df6b7029 Too large of a default blocksize 2026-02-04 13:07:10 +01:00
Carl Johnsen fdc9eab0ec Added support for unknown filesystems, where the raw disk is divided into chunks to be presented as files. 2026-02-04 13:03:47 +01:00
Carl Johnsen 40b3e678f4 Made enumerations async 2026-02-04 13:03:16 +01:00
Carl Johnsen 10ca7045da Handled platform-specific functionality warning. 2026-02-04 11:14:01 +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 f2028b4600 Added filesystem interface 2026-02-04 10:41:07 +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