From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: System installation from a USB stick Date: Mon, 21 Jul 2014 23:59:00 +0200 Message-ID: <87d2cy1ihn.fsf@gnu.org> References: <87y4xdhgn3.fsf@gnu.org> <877g3z2w60.fsf@gnu.org> <87r41jp2pa.fsf@gnu.org> <87bnslk4d6.fsf@gnu.org> <87vbqtfq0x.fsf@gnu.org> <87mwc5e2uj.fsf@gnu.org> <87k378be4g.fsf@gnu.org> <878unm4rtb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Lbx-0004Xi-AI for guix-devel@gnu.org; Mon, 21 Jul 2014 17:59:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9Lbr-0001ka-Kf for guix-devel@gnu.org; Mon, 21 Jul 2014 17:59:09 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:37289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Lbr-0001kW-CJ for guix-devel@gnu.org; Mon, 21 Jul 2014 17:59:03 -0400 In-Reply-To: (Adam Pribyl's message of "Mon, 21 Jul 2014 21:02:10 +0200 (CEST)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Adam Pribyl Cc: guix-devel --=-=-= Content-Type: text/plain Adam Pribyl skribis: > deco stop udev > mount -t devtmpfs dev /dev > deco start udev > > then /dev is correctly populated. This patch apparently does the trick similarly: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/services/base.scm b/gnu/services/base.scm index ae12c8e..31f1b74 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -497,6 +497,7 @@ passed to @command{guix-daemon}." (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules") + (mount "none" "/dev" "devtmpfs") (let ((pid (primitive-fork))) (case pid ((0) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (We can=E2=80=99t use devtmpfs in =E2=80=98mount-essential-file-systems=E2= =80=99, which is used before udev starts, though.) Ludo=E2=80=99. --=-=-=--