Commit Graph
17 Commits
Author SHA1 Message Date
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 dac373a03f Made Mac handle unaligned read and write buffers as well 2026-03-11 15:09:22 +01: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 1fc37ab165 Incorrectly unmounted the target drive on every restore to a Mac disk 2026-02-24 09:49:03 +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 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