我有一个使用 Debian Wheezy 的嵌入式 ARM 系统。我想使用“noatime”选项挂载 SD 根文件系统。我通常只是将其添加到/etc/fstab 中,但是在我的系统上/etc/fstab 是空的,但是 root fs 肯定是由内核安装的。
有谁知道在这种情况下在哪里设置 noatime 选项?正如我在启动时看到此消息一样,RFS 的安装正在 Debian 中的某个位置进行。
[14.442749] EXT4-fs (mmcblk0p2):重新安装。选择:(空)
最佳答案
您可以在系统启动后使用 noatime 选项重新挂载它。
在我的例子中,使用 noatime 重新挂载根文件系统:
sudo mount -o remount -o noatime/
您可以使用命令mount查看当前选项,并检查on/行
/dev/disk/by-uuid/3984fee6-c70a-4fee-96a0-6d4a4103abc6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
关于linux - Debian 喘息 : how to set noatime parameter for root FS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18476759/