mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
hurd-boot: change /etc/mtab to /var/run/mtab.
This corresponds to "_PATH_MOUNTED" in paths.h from libc. * gnu/build/hurd-boot.scm (set-hurd-device-translators): Change etc/mtab to var/run/mtab. Change-Id: I688289fe4b8143ae14a8eef5ba1625c4ebd2a209 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
9f8b1cfdf6
commit
9051aa1bd1
1 changed files with 4 additions and 4 deletions
|
|
@ -294,10 +294,10 @@ set."
|
|||
(false-if-EEXIST (symlink "/servers/socket/2" (scope "servers/socket/inet")))
|
||||
(false-if-EEXIST (symlink "/servers/socket/26" (scope "servers/socket/inet6")))
|
||||
|
||||
;; Make sure /etc/mtab is a symlink to /proc/mounts.
|
||||
(false-if-exception (delete-file (scope "etc/mtab")))
|
||||
(mkdir* (scope "etc"))
|
||||
(symlink "/proc/mounts" (scope "etc/mtab")))
|
||||
;; Make sure /var/run/mtab is a symlink to /proc/mounts.
|
||||
(false-if-exception (delete-file (scope "var/run/mtab")))
|
||||
(mkdir* (scope "var/run"))
|
||||
(symlink "/proc/mounts" (scope "var/run/mtab")))
|
||||
|
||||
|
||||
(define* (boot-hurd-system #:key (on-error 'debug))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue