白川 *_*マセル 5 linux filesystems ext4 linux-kernel btrfs
有没有办法禁用文件系统的 mtime?
有一个文件系统独立的 noatime 选项,但没有“nomtime”。同样在 ext4 和/或 btrfs 的文件系统特定文档中,我找不到这个。
这存在吗?
内核中没有这样的选项。
包括/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 */
Run Code Online (Sandbox Code Playgroud)
除了用于测试目的(您的用例)之外,我想不出此选项的任何功能目的。
您的选择是:
| 归档时间: |
|
| 查看次数: |
1176 次 |
| 最近记录: |