anchor.diff:          target = "fstab";
         };
   
  +    boot.initrd.extraUtilsCommands = fsExtraUtilsCommands;
  +    boot.initrd.postDeviceCommands = fsPostDeviceCommands;
  +    boot.initrd.kernelModules = fsKernelModules;
  +
       jobs.mountall =
         { startOn = "started udev"
             # !!! The `started nfs-kernel-statd' condition shouldn't be
  
positive.code: with pkgs.lib;
  
  let
    needsBtrfsProgs = any (fs: fs.fsType == "btrfs") config.fileSystems;
  
    # Packages that provide fsck backends.
    fsPackages = [ pkgs.e2fsprogs pkgs.reiserfsprogs pkgs.dosfstools ]
               ++ optional needsBtrfsProgs pkgs.btrfsProgs;
  
  
  in
  
  
negative.code:             exec > /dev/console 2>&1
              echo "mounting filesystems..."
              export PATH=${config.system.sbin.mount}/bin:${makeSearchPath "sbin" ([pkgs.utillinux] ++ fsPackages)}:$PATH
              ${optionalString usingBtrfs "${pkgs.btrfsProgs}/bin/btrfs device scan"}
              ${pkgs.mountall}/sbin/mountall
            '';
        };
  