有没有办法禁用文件系统的mtime?
有一个独立于文件系统的noatime选项,但没有“nomtime”.另外在ext4和/或btrfs的Filesystem特定文档中,我找不到这个.@H_502_3@
这存在吗?@H_502_3@
解决方法
内核中没有这样的选项.
在include / linux / statfs.h:@H_502_3@
#define ST_NOATIME 0x0400 /* do not update access times */ #define ST_NODIRATIME 0x0800 /* do not update directory access times */ #define ST_RELATIME 0x1000 /* update atime relative to mtime/ctime */
除了用于测试目的(您的用例)之外,我无法想到此选项的任何功能目的.@H_502_3@
你的选择是:@H_502_3@