ntfsresize, ntfsclone: always use MS_NOATIME
parent
c0e5461995
commit
fefc3e5195
|
@ -115,6 +115,7 @@
|
|||
record size to be below or equal to the system page size which we
|
||||
determine using sysconf()). (Anton)
|
||||
- Fix tons of big-endian bugs in mkntfs. (Anton)
|
||||
- ntfsresize, ntfsclone: always use MS_NOATIME. (Szaka)
|
||||
|
||||
10/10/2005 - 1.12.1 - Minor fix to location of mount.ntfs-fuse and mkfs.ntfs.
|
||||
|
||||
|
|
|
@ -1603,7 +1603,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(0);
|
||||
mount_volume(MS_NOATIME);
|
||||
|
||||
free(lcn_bitmap.bm);
|
||||
setup_lcn_bitmap();
|
||||
|
|
|
@ -2251,7 +2251,7 @@ static ntfs_volume *mount_volume(void)
|
|||
"You must 'umount' it first.\n", opt.volume);
|
||||
}
|
||||
|
||||
if (!(vol = ntfs_mount(opt.volume, opt.ro_flag))) {
|
||||
if (!(vol = ntfs_mount(opt.volume, opt.ro_flag | MS_NOATIME))) {
|
||||
|
||||
int err = errno;
|
||||
|
||||
|
|
Loading…
Reference in New Issue