syscalls: Update /etc/mtab, not /etc/fstab.
* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with "mtab".
This commit is contained in:
parent
4c7ac9aa7f
commit
cd4a3cb359
|
@ -106,9 +106,9 @@
|
||||||
((device mount-point type options freq passno)
|
((device mount-point type options freq passno)
|
||||||
(string=? target mount-point))
|
(string=? target mount-point))
|
||||||
(_ #f))
|
(_ #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)
|
(lambda (port)
|
||||||
(for-each (match-lambda
|
(for-each (match-lambda
|
||||||
((device mount-point type options freq passno)
|
((device mount-point type options freq passno)
|
||||||
|
|
Loading…
Reference in New Issue