Commented out all instances of MS_NOATIME being passed to ntfs_mount, as libntfs-3g does not support that flag.
In fact, this is how libntfs-3g operates normally, so the MS_NOATIME flag is not needed. However, other utilities might incorrectly assume that the library updates access times for them. Investigating whether access time needs to be manually updated in other utilities is TODO.edge.strict_endians
parent
ee3297311d
commit
36b876375e
|
@ -1717,7 +1717,7 @@ int main(int argc, char **argv)
|
|||
/* 'force' again mount for dirty volumes (e.g. after resize).
|
||||
FIXME: use mount flags to avoid potential side-effects in future */
|
||||
opt.force++;
|
||||
mount_volume(MS_NOATIME);
|
||||
mount_volume(0 /*MS_NOATIME*/);
|
||||
|
||||
free(lcn_bitmap.bm);
|
||||
setup_lcn_bitmap();
|
||||
|
|
|
@ -2239,7 +2239,7 @@ static ntfs_volume *mount_volume(void)
|
|||
"You must 'umount' it first.\n", opt.volume);
|
||||
}
|
||||
|
||||
if (!(vol = ntfs_mount(opt.volume, opt.ro_flag | MS_NOATIME))) {
|
||||
if (!(vol = ntfs_mount(opt.volume, opt.ro_flag /*| MS_NOATIME*/))) {
|
||||
|
||||
int err = errno;
|
||||
|
||||
|
|
Loading…
Reference in New Issue