summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-generate-config.pl
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2014-02-19 16:56:25 +0100
committerRicardo M. Correia <rcorreia@wizy.org>2014-02-19 17:18:49 +0100
commitcea9a1a242af60adb99e98a4eae50950dfd1ff92 (patch)
tree0797ec9d4b6e86f41c51a19b92c88bd24691105e /nixos/modules/installer/tools/nixos-generate-config.pl
parentad0732313d1d512f0cc504e7a5b354236ced49f2 (diff)
downloadnixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar.gz
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar.bz2
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar.lz
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar.xz
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.tar.zst
nixpkgs-cea9a1a242af60adb99e98a4eae50950dfd1ff92.zip
nixos-generate-config: Don't generate /var/lib/nfs/rpc_pipefs filesystem
It's automatically mounted if the system has support for NFS.
Diffstat (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index b6bc0458477..67ba7956022 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -256,7 +256,7 @@ foreach my $fs (read_file("/proc/self/mountinfo")) {
     $mountPoint = "/" if $mountPoint eq "";
 
     # Skip special filesystems.
-    next if in($mountPoint, "/proc") || in($mountPoint, "/dev") || in($mountPoint, "/sys") || in($mountPoint, "/run");
+    next if in($mountPoint, "/proc") || in($mountPoint, "/dev") || in($mountPoint, "/sys") || in($mountPoint, "/run") || $mountPoint eq "/var/lib/nfs/rpc_pipefs";
 
     # Skip the optional fields.
     my $n = 6; $n++ while $fields[$n] ne "-"; $n++;