mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -106,9 +106,9 @@ (define entries
|
|||
((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)
|
||||
|
|
Loading…
Reference in a new issue