Carl Johnsen
6e1d27e3b1
Added readonly flag to ensure that OS doesn't try and "fix" a disk / partition
2026-02-25 15:48:26 +01:00
Carl Johnsen
b90fec551f
Unmounting should unmount each partition first to ensure that the file system has flushed.
2026-02-25 15:47:23 +01:00
Carl Johnsen
7f7a46614f
Partitions mounted incorrectly should be unmounted before mounting.
2026-02-25 15:46:59 +01:00
Carl Johnsen
4dbc33ac34
Attempts at alleviating flaky disk mounts
...
First up is renaming partitions so their names don't clash.
Second is to forcefully unmount a partition before mounting to ensure that the volume isn't mounted to a transient location prior to mounting.
2026-02-25 13:29:07 +01:00
Carl Johnsen
a603583029
Volumes are now optionally mounted to a specified folder
2026-02-25 13:27:56 +01:00
Carl Johnsen
bc5e5d8500
Introduced waiting for disks during disk mount
2026-02-24 15:02:31 +01:00
Carl Johnsen
cace107890
Removed unused variable
2026-02-24 14:55:05 +01:00
Carl Johnsen
fac6989ce8
Mac doesn't require root for virtual disks
2026-02-24 13:54:38 +01:00
Carl Johnsen
340ab9c6c0
Unknown disks should be a valid configuration
2026-02-24 13:32:01 +01:00
Carl Johnsen
54578c6eb8
Proper parsing of MBR tables on Mac
2026-02-24 11:42:56 +01:00
Carl Johnsen
71bc154303
Fixed partition parsing of APFS and HFSPlus systems
2026-02-24 11:37:03 +01:00
Carl Johnsen
31202e4eec
Found another argument that should have been in quotes
2026-02-24 09:22:32 +01:00
Carl Johnsen
229ae88ad1
The check for whether a disk is already mounted during mount is allowed to fail
2026-02-23 22:53:14 +01:00
Carl Johnsen
3b3aafc123
Moved script running to a helper method
2026-02-23 21:04:46 +01:00
Carl Johnsen
db7252b66f
Tweaked MacOS partition table information helper
2026-02-23 20:56:10 +01:00
Carl Johnsen
dc87e824a1
b size modifier for hdiutil is sectors, not bytes.
2026-02-23 20:22:23 +01:00
Carl Johnsen
656d5cd1d5
Names with spaces should be in quotes for commandline arguments
2026-02-23 17:25:13 +01:00
Carl Johnsen
ab9f1d50c9
Image path was incorrectly parsde during cleanup
2026-02-23 17:24:38 +01:00
Carl Johnsen
69e49ec452
Disk size should be in bytes
2026-02-23 17:07:00 +01:00
Carl Johnsen
bbbb95a6ee
First implementation of the mac disk helper methods
2026-02-23 16:55:29 +01:00
Carl Johnsen
ca098744a8
Changed from string to enum
2026-02-19 18:09:37 +01:00
Carl Johnsen
4845c22233
Added docstrings
2026-02-15 12:45:59 +01:00
Carl Johnsen
84dd4dab1a
Abstracted disk helper methods into operating system specific constituents
2026-02-15 11:45:52 +01:00