anchor.diff:        ensurePartition("/dev/nixos/boot", "ext3");
         ensurePartition("/dev/nixos/swap", "swap");
         ensurePartition("/dev/nixos/root", "ext4");
  -      remount_and_check;
  +
  +      remountAndCheck;
         ensureMountPoint("/mnt/boot");
       };
     '';
  
positive.code:       $machine->succeed("mountpoint $_[0]");
      }
  
      sub remount_and_check {
        $machine->nest("Remounting partitions:", sub {
          # XXX: "findmnt -ARunl -oTARGET /mnt" seems to NOT print all mounts!
          my $getmounts_cmd = "cat /proc/mounts | cut -d' ' -f2 | grep '^/mnt'";
  
negative.code:       ensureNoPartition("vdb4");
        ensureNoPartition("vdc4");
        ensureNoPartition("md2");
        remountAndCheck;
        ensureMountPoint("/mnt/boot");
      };
  
  