updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / exo-alt / exo-0.3.2-alt-noatime.patch
blob855cbadaf28664b3429b49c0eb7c9b1f561fdd99
1 exo-mount: use 'noatime' if HAL allows it.
3 diff --git a/exo/exo-mount/exo-mount-hal.c b/exo/exo-mount/exo-mount-hal.c
4 --- a/exo/exo-mount/exo-mount-hal.c
5 +++ b/exo/exo-mount/exo-mount-hal.c
6 @@ -670,6 +703,10 @@ exo_mount_hal_device_mount (ExoMountHalDevice *device,
7 /* non-pollable drive... */
8 options[n++] = g_strdup ("sync");
10 + else if (strcmp (device->fsoptions[m], "noatime") == 0)
11 + {
12 + options[n++] = g_strdup ("noatime");
13 + }
14 else if (strcmp (device->fsoptions[m], "longnames") == 0
15 && strcmp (device->fstype, "vfat") == 0)