有没有办法来禁用文件系统的mtime?
有一个Filesystem independend noatime选项,但没有“nomtime”。 另外在文件系统ext4和/或btrfs的特定文档,我找不到这个。
这是否存在?
内核中没有这样的选项。
include / linux / statfs.h :
#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 */
除了testing目的(您的使用案例),我不能想到这个选项的function目的。
您的select是: