Skip to content

Commit 628b2e5

Browse files
committed
Update some more known apfs mount args
Still lots of mysteries
1 parent 6c0c91f commit 628b2e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/mount_args.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ enum {
1515
APFS_MOUNT_AS_ROOT = 0, /* mount the default snapshot */
1616
APFS_MOUNT_FILESYSTEM, /* mount live fs */
1717
APFS_MOUNT_SNAPSHOT, /* mount custom snapshot in apfs_mountarg.snapshot */
18-
APFS_MOUNT_FOR_CONVERSION, /* mount snapshot while suppling some representation of im4p and im4m */
18+
APFS_MOUNT_SNAPSHOT_AUTH, /* mount snapshot while suppling some representation of im4p and im4m */
1919
APFS_MOUNT_FOR_VERIFICATION, /* Fusion mount with tier 1 & 2, set by mount_apfs when -C is used (Conversion mount) */
2020
APFS_MOUNT_FOR_INVERSION, /* Fusion mount with tier 1 only, set by mount_apfs when -c is used */
21-
APFS_MOUNT_MODE_SIX, /* ??????? */
22-
APFS_MOUNT_FOR_INVERT, /* ??? mount for invert */
23-
APFS_MOUNT_IMG4 /* mount live fs while suppling some representation of im4p and im4m */
21+
APFS_MOUNT_MODE_REPAIR, /* repair fs */
22+
APFS_MOUNT_FOR_INVERT, /* mount for invert */
23+
APFS_MOUNT_FILESYSTEM_AUTH /* mount live fs while suppling some representation of im4p and im4m */
2424
};
2525

2626
#define APFS_MOUNT_IMG4_MAXSZ 0x100000
@@ -65,7 +65,7 @@ struct apfs_mount_args {
6565
uint32_t pad2; /* padding */
6666
void* im4m_ptr;
6767
uint32_t im4m_size;
68-
uint32_t pad3; /* padding */
68+
uint32_t im_4cc;
6969
uint32_t cryptex_type; /* APFS_CRYPTEX_TYPE_* */
7070
int32_t auth_mode; /* APFS_AUTH_ENV_* */
7171
uid_t uid;

0 commit comments

Comments
 (0)