nixpkgs/nixos
Luflosi db4fdd6247
nixos/filesystems: skip fsck for bind mounts
Without this change, configurations like
```nix
fileSystems."/path/to/bindMountedDirectory" = {
  device = "/path/to/originalDirectory";
  options = [ "bind" ];
};
```
will lead to a warning message in `dmesg`:
```
systemd-fstab-generator: Checking was requested for "/path/to/originalDirectory", but it is not a device.
```
This happens because the generated /etc/fstab entry contains a non-zero fsck pass number, which doesn't make sense for a bind mount.
2022-07-12 16:51:25 +02:00
..
doc Merge pull request #180950 from alyssais/graphite 2022-07-10 17:22:45 +02:00
lib Merge pull request #179291 from dotlambda/utillinux-alias 2022-07-02 00:05:54 +02:00
maintainers maintainers/create-amis.sh: Add more AWS regions 2022-05-17 10:20:30 +01:00
modules nixos/filesystems: skip fsck for bind mounts 2022-07-12 16:51:25 +02:00
tests Merge pull request #180999 from Luflosi/update/ipfs 2022-07-11 03:26:06 +02:00
COPYING
default.nix
README
release-combined.nix nixos/release: add podman, oci-containers.podman to tested 2022-05-03 19:42:33 +10:00
release-small.nix nixos/release: disable nfs3.simple 2022-03-03 06:34:59 +10:00
release.nix nixos: remove unused "system tarball" modules 2022-07-12 07:34:20 +00:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.