summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1-init.sh
diff options
context:
space:
mode:
authordavidak <git@davidak.de>2017-08-31 05:24:48 -0500
committerJörg Thalheim <joerg@thalheim.io>2017-08-31 05:39:31 -0500
commit8f389f331641561c2c0355edd9e83593bf908a39 (patch)
tree39920c2dd9860f5f64ab3e963c340b6387909312 /nixos/modules/system/boot/stage-1-init.sh
parentbd79b8c9fc918223e28dc29e7afa2673bebb5392 (diff)
downloadnixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar.gz
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar.bz2
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar.lz
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar.xz
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.tar.zst
nixpkgs-8f389f331641561c2c0355edd9e83593bf908a39.zip
nixos/bcachefs: init module
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 1f4ab3eae07..b442386914a 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -221,6 +221,9 @@ checkFS() {
     # Don't check resilient COWs as they validate the fs structures at mount time
     if [ "$fsType" = btrfs -o "$fsType" = zfs ]; then return 0; fi
 
+    # Skip fsck for bcachefs - not implemented yet.
+    if [ "$fsType" = bcachefs ]; then return 0; fi
+
     # Skip fsck for inherently readonly filesystems.
     if [ "$fsType" = squashfs ]; then return 0; fi