我安装了Xubuntu(有时运行Cinnamon,但我岔开话题了),想要禁用日志记录以使文件碎片化对ext4系统分区的清除更加有效(非系统/应用数据存储在NTFS分区上)。如何实现这一目标?
tune2fs -O ^has_journal /dev/sdXN
你可能还需要...tune2fs - adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems
Option: -O [^]feature[,...]
Set or clear the indicated filesystem features (options) in the filesystem. More than one filesystem feature can be cleared or set by separating features with commas. Filesystem features prefixed with a caret character ('^') will be cleared in the filesystem's superblock; filesystem features without a prefix character or prefixed with a plus character ('+') will be added to the filesystem.
...
has_journal
Use a journal to ensure filesystem consistency even across unclean shutdowns. Setting the filesystem feature is equivalent to using the -j option.