我想使用一个用ext4格式化的SD卡,并将它挂载为/home/user/data,我问它是否更好地禁用日志以保存SD。如果是这样的话,我可以让我的内部硬盘(/dev/sda)有日志记录和没有它的SD吗?这样做有什么问题吗?这是个好方法吗:http://www.techpository.com/linux-how-to-disableenable-journaling-on-an-ext4-filesystem/?
发布于 2017-08-07 19:55:06
是的,禁用日志应该会减少对内存设备的写入量。
命令mke2fs -t ext4 -O ^has_journal /dev/mmcblk0pX将禁用日志格式。
请参阅https://superuser.com/questions/799233/why-i-cannot-format-a-microsd-to-ext4?answertab=votes#tab-top
https://askubuntu.com/questions/837357
复制相似问题