summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1-init.sh
diff options
context:
space:
mode:
authorvicgc <victor.g.c@gmail.com>2018-06-06 00:24:04 +0200
committervicgc <victor.g.c@gmail.com>2018-06-06 00:24:04 +0200
commitee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc (patch)
tree58768cfa25fb7f364db2382347d39581868efe65 /nixos/modules/system/boot/stage-1-init.sh
parentc958516cb3e8b68433097c15f49eedcac781b93d (diff)
downloadnixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar.gz
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar.bz2
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar.lz
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar.xz
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.tar.zst
nixlib-ee4bb9454e1e06e30c1f0396b69a1ae9df1c35dc.zip
Fixed nilfs2 fsck error at boot because its not needed bu the nilfs2 filesystem
Diffstat (limited to 'nixos/modules/system/boot/stage-1-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-1-init.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 92e68b72664a..de8451bbe31b 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -251,6 +251,9 @@ checkFS() {
     # Skip fsck for bcachefs - not implemented yet.
     if [ "$fsType" = bcachefs ]; then return 0; fi
 
+    # Skip fsck for nilfs2 - not needed by design and no fsck tool for this filesystem.
+    if [ "$fsType" = nilfs2 ]; then return 0; fi
+
     # Skip fsck for inherently readonly filesystems.
     if [ "$fsType" = squashfs ]; then return 0; fi