syscalls: Update /etc/mtab, not /etc/fstab.
* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with "mtab".master
parent
4c7ac9aa7f
commit
cd4a3cb359
|
@ -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)
|
||||
|
|
Reference in New Issue