summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-14 00:41:01 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-14 00:41:01 +0100
commitcd4a3cb359467c53e2ddd7240845b55b1129c91d (patch)
treef7241675300df8e11694066fc5276b4ee3c1362d
parent4c7ac9aa7f5a39df7000ccf80ec1bec5af14f64e (diff)
downloadguix-cd4a3cb359467c53e2ddd7240845b55b1129c91d.tar.gz
syscalls: Update /etc/mtab, not /etc/fstab.
* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with
  "mtab".
-rw-r--r--guix/build/syscalls.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 9765820836..e1fafe2266 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -106,9 +106,9 @@
              ((device mount-point type options freq passno)
               (string=? target mount-point))
              (_ #f))
-            (call-with-input-file "/etc/fstab" read-mtab)))
+            (call-with-input-file "/etc/mtab" read-mtab)))
 
-  (call-with-output-file "/etc/fstab"
+  (call-with-output-file "/etc/mtab"
     (lambda (port)
       (for-each (match-lambda
                  ((device mount-point type options freq passno)