Fix mkfs.f2fs comment

I created my filesystem with a very low inodes count maximum which is very bad
This commit is contained in:
Username404-59 2026-07-02 02:24:53 +02:00
parent f7b57fb162
commit 31d22b9ae1
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7

View File

@ -1,7 +1,7 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
# Note: for f2fs, create it with "sudo fsck.f2fs -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY" # Note: for f2fs, create it with "sudo mkfs.f2fs -i -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY"
fileSystems."/".options = lib.mkIf (config.fileSystems."/".fsType == "f2fs") fileSystems."/".options = lib.mkIf (config.fileSystems."/".fsType == "f2fs")
(lib.mkAfter [ (lib.mkAfter [
"discard" # Better (on f2fs) than fstrim "discard" # Better (on f2fs) than fstrim