From 31d22b9ae1717a14e1952d5e561339bf6c610982 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Thu, 2 Jul 2026 02:24:53 +0200 Subject: [PATCH] Fix mkfs.f2fs comment I created my filesystem with a very low inodes count maximum which is very bad --- modules/filesystems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filesystems.nix b/modules/filesystems.nix index cf47557..1a33d05 100644 --- a/modules/filesystems.nix +++ b/modules/filesystems.nix @@ -1,7 +1,7 @@ { 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") (lib.mkAfter [ "discard" # Better (on f2fs) than fstrim