Commit Graph
212 Commits
Author SHA1 Message Date
Carl Johnsen 58de34091a Added missing Linux branches in the source provider 2026-03-16 11:09:08 +01:00
Carl Johnsen f8e0f4df2b Linux should use helper class for calling scripts, not another implementation of the same functionality 2026-03-12 11:22:40 +01:00
Carl Johnsen 9d9ecca963 Made Linux native library calls compile like the Mac one for multiple architectures. 2026-03-12 08:45:47 +00:00
Carl Johnsen 41e811aac4 Added shortcut return 0 for when a request to disk is of size 0 2026-03-12 08:51:26 +01:00
Carl Johnsen 0be0aa227b Mac doesn't have O_DIRECT, but it has F_NOCACHE 2026-03-12 06:23:26 +01:00
Carl Johnsen b24278f627 Fixed error related to backslashes in paths 2026-03-11 14:58:23 +00:00
Carl Johnsen 64aacdabf2 Windows' WriteBytesAsync returned incorrect number of bytes 2026-03-11 15:33:20 +01:00
Carl Johnsen e5e546ee27 Handled bogus data cropping up when running multiple tests 2026-03-11 15:28:59 +01:00
Carl Johnsen 5b52eae0bc Made Windows handle unaligned read and write 2026-03-11 15:10:38 +01:00
Carl Johnsen dac373a03f Made Mac handle unaligned read and write buffers as well 2026-03-11 15:09:22 +01:00
Carl Johnsen cdc1b49f42 Linux should use the same call to GetPInvokeErrorMessage() as Mac 2026-03-11 15:08:38 +01:00
Carl Johnsen c1b22f491f Handled Windows paths 2026-03-11 15:02:23 +01:00
Carl Johnsen fabff9828a Properly handled unaligned read/write in Linux disk accesses 2026-03-11 09:06:02 +00:00
Carl Johnsen ec3d1b2d42 Made internals of DiskImage visible to the disk image unit tests 2026-03-11 08:21:07 +00:00
Carl Johnsen 62c2244faf Reordered interface definitions for a more structured order 2026-03-11 08:16:29 +00:00
Carl Johnsen 623a6b1cf5 Updated the Linux disk interface to match the new interface 2026-03-10 08:59:49 +00:00
Carl Johnsen f64ee59111 Merge branch 'master' into feature/full-disk-linux 2026-03-10 08:28:41 +00:00
Kenneth SkovhedeandGitHub c6f32b8ba2 Merge pull request #6784 from carljohnsen/feature/full-disk-mac
Feature/Disk Image basic Mac support
2026-03-06 14:21:52 +01:00
dependabot[bot]andGitHub f4f30447c7 Bump the nuget group with 1 update
Bumps MimeKit from 4.12.0 to 4.15.1

---
updated-dependencies:
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 23:29:17 +00:00
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 ad66e7029d 'Disk has mounted partitions' check should only be made on drives where write access is requested 2026-03-02 15:16:43 +00:00
Carl Johnsen 73404adb17 Made the Linux disk interface throw an exception when trying to restore to a device that has mounted partitions 2026-03-02 13:50:39 +00:00
Carl Johnsen 0252cf0bd4 Drive should be opened using O_DIRECT 2026-03-02 13:35:51 +00:00
Carl Johnsen 6b1331fd42 Fixed Linux read and write to utilize aligned buffer 2026-03-02 09:31:35 +00:00
Carl Johnsen 16c86d4ba9 Added Linux support in the disk image web module 2026-03-01 11:25:44 +01:00
Carl Johnsen c782a9dcb1 Updated disk image strings to reflect Linux support 2026-03-01 11:17:40 +01:00
Carl Johnsen ae335010c4 Added Linux disks as a restore provider 2026-03-01 11:14:34 +01:00
Carl Johnsen 0accdd923b Added Linux disks as a source provider 2026-03-01 11:12:15 +01:00
Carl Johnsen 8c0d9de080 First implementation of Linux raw disk support 2026-03-01 11:09:22 +01:00
Carl Johnsen 18d8a41701 Added Linux libc wrapper 2026-03-01 11:09:07 +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