Mount ext4 images with noatime flag
This commit is contained in:
parent
1f3f881f81
commit
f45b0686d2
@ -184,7 +184,7 @@ char *mount_image(const char *img, const char *target) {
|
|||||||
exec_command_sync("/system/bin/e2fsck", "-yf", img, NULL);
|
exec_command_sync("/system/bin/e2fsck", "-yf", img, NULL);
|
||||||
char *device = loopsetup(img);
|
char *device = loopsetup(img);
|
||||||
if (device)
|
if (device)
|
||||||
xmount(device, target, "ext4", 0, NULL);
|
xmount(device, target, "ext4", MS_NOATIME, NULL);
|
||||||
return device;
|
return device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user