3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/tasks
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
..
filesystems Merge pull request #171401 from klemensn/filesystems-zfs 2022-07-03 18:07:53 +02:00
auto-upgrade.nix treewide: pkgs.systemd -> config.systemd.package 2022-05-05 20:00:31 +02:00
bcache.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
cpu-freq.nix
encrypted-devices.nix
filesystems.nix nixos/filesystems: skip fsck for bind mounts 2022-07-12 16:51:25 +02:00
lvm.nix nixos/stage-1-systemd: Add LVM2 support 2022-04-13 23:00:19 +01:00
network-interfaces-scripted.nix Merge pull request #176379 from SuperSandro2000/network-setup 2022-06-17 22:36:45 +02:00
network-interfaces-systemd.nix nixos/networkd: add IPv6PrivacyExtensions=kernel for default networks 2022-06-21 17:12:01 +02:00
network-interfaces.nix nixos/network-interfaces: add networking.interfaces.<name>.ipv[46].routes.type 2022-06-02 19:16:25 +01:00
powertop.nix
scsi-link-power-management.nix
snapraid.nix nixos/snapraid: fix evaluation 2021-12-08 11:10:02 +01:00
swraid.nix nixos/stage-1-init: Merge mdraid module into swraid 2022-04-15 19:57:16 +01:00
trackpoint.nix
tty-backgrounds-combine.sh