Commit Graph
123 Commits
Author SHA1 Message Date
Carl Johnsen b627ea87c9 Changed from PInvoke call to get error messages to the Marshal library call that does the same 2026-03-05 18:11:53 +01:00
Carl Johnsen 298f916e8d Shift to plist for all diskutil commands to alleviate localization and other human-readable-related parsing errors 2026-03-05 17:42:24 +01:00
Carl Johnsen 222ec0433a Using constants rather than copied hardcoded strings 2026-03-05 16:08:32 +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 5fd62b0fc2 Made the Mac system library wrapper a precompiled file that is copied alongside referencing projects output folder 2026-03-05 13:28:54 +01:00
Carl Johnsen ed788a1bd8 Updated WebModule for Mac support 2026-02-27 14:33:34 +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 ff2486eb25 Updated module string reference 2026-02-24 16:32:51 +01:00
Carl Johnsen 1fc37ab165 Incorrectly unmounted the target drive on every restore to a Mac disk 2026-02-24 09:49:03 +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 705ab1c101 Changed the permissions of the libSystem library 2026-02-23 20:28:23 +01:00
Carl Johnsen 61fc0a5e39 F_FULLSYNC doesn't apply to non-filesystem file descriptors 2026-02-23 20:28:08 +01:00
Carl Johnsen 90f2f6d2b1 Renamed the libSystem wrapper as other variadic system functions may be needed 2026-02-23 20:24:31 +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 7e72f2682a ioctl request was incorrect 2026-02-23 11:48:59 +01:00
Carl Johnsen eb9f2b224c Partial keyword needed for PInvoke 2026-02-23 11:48:59 +01:00
Carl Johnsen 21eff8762c Added a wrapper to MacOS system libraries using variadic arguments. 2026-02-23 11:48:59 +01:00
Carl Johnsen 1cc3a0cdb2 Used newer LibraryImport instead of DllImport 2026-02-23 11:48:59 +01:00
Carl Johnsen 87fe9c6df3 Added errno error messages 2026-02-23 11:48:59 +01:00
Carl Johnsen 6c5351074a Initial MacOS implementation using libc through PInvoke 2026-02-23 11:48:59 +01:00
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