Merge "Add noatime to vfat and exfat" into oc-mr1-dev
This commit is contained in:
commit
53deec14b8
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ status_t Mount(const std::string& source, const std::string& target, bool ro,
|
|||
const char* c_source = source.c_str();
|
||||
const char* c_target = target.c_str();
|
||||
|
||||
flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC;
|
||||
flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC | MS_NOATIME;
|
||||
|
||||
flags |= (executable ? 0 : MS_NOEXEC);
|
||||
flags |= (ro ? MS_RDONLY : 0);
|
||||
|
|
Loading…
Reference in a new issue