mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-11 13:19:11 +00:00
Mount ext4 images with noatime flag
This commit is contained in:
@@ -184,7 +184,7 @@ char *mount_image(const char *img, const char *target) {
|
||||
exec_command_sync("/system/bin/e2fsck", "-yf", img, NULL);
|
||||
char *device = loopsetup(img);
|
||||
if (device)
|
||||
xmount(device, target, "ext4", 0, NULL);
|
||||
xmount(device, target, "ext4", MS_NOATIME, NULL);
|
||||
return device;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user