| 查看 | mount 输出或 /proc/mounts 中的选项 |
|---|---|
| 常见默认 | 多数发行版默认 relatime |
检查挂载选项
检查挂载选项
findmnt -no OPTIONS /
mount | grep -E 'noatime|relatime|strictatime'判断 atime 可信度前先确认该文件系统的挂载参数,再决定它在时间线中的权重。
访问时间是否更新取决于挂载选项:noatime 完全不更新,relatime 仅在特定条件更新,strictatime 下每次读取都会记录。
| 查看 | mount 输出或 /proc/mounts 中的选项 |
|---|---|
| 常见默认 | 多数发行版默认 relatime |
findmnt -no OPTIONS /
mount | grep -E 'noatime|relatime|strictatime'