当我插入 USB 记忆棒时,它以只读模式安装。dmesg
输出:
[189999.758776] sdc: sdc1
[189999.759811] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[190000.140329] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[190000.269130] FAT-fs (sdc1): error, corrupted directory (invalid entries)
[190000.269135] FAT-fs (sdc1): Filesystem has been set read-only
[190217.318154] FAT-fs (sdc1): error, corrupted directory (invalid entries)
基本上,由于一些小错误,它会将磁盘重新挂载为只读。我相信这是由于默认挂载选项是errors=remount-ro
。我想更改这些默认选项,但找不到相关配置。
我不想将这个特定的 USB 驱动器添加到/etc/fstab
列表中或手动安装它。