Closed AleVul closed 2 years ago
Is there a reason to disable discard?
Also if you try to run the install again you need to use
fdisk
to delete all the partitions, and then usemkfs
to make the whole drive one ext4 partition.
By default, mkfs.f2fs
will not write to the device if it suspects that there is a filesystem or partition table on the device already. If this is desired, we could use -f
switch so that mkfs.f2fs
would attempt to overwrite.
@AleVul I did a quick test with -f
and it does resolve that issue. It might be good to have as it will make further testing simpler when a clean install is needed.
This PR changes preferred options for f2fs.
This set of options was inspired by ArchLinux's recommended options with some changes.
Rationale for some of the options:
Some of the features of
f2fs
must be enabled atmkfs
time so that the driver could use the options above. More about this features can be found in man pages.