From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oE26AnBlXl+9OwAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 18:31:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kLOXOG9lXl9ORQAAbx9fmQ (envelope-from ) for ; Sun, 13 Sep 2020 18:31:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 859D39404CA for ; Sun, 13 Sep 2020 18:31:11 +0000 (UTC) Received: from localhost ([::1]:33606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHWmL-00034v-F4 for larch@yhetil.org; Sun, 13 Sep 2020 14:31:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHWmF-00034X-Ls for guix-patches@gnu.org; Sun, 13 Sep 2020 14:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHWmE-0001zR-2l for guix-patches@gnu.org; Sun, 13 Sep 2020 14:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHWmE-0008Cu-0C for guix-patches@gnu.org; Sun, 13 Sep 2020 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43219] [PATCH] gnu: Handle nfs-root device strings. Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Sep 2020 18:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43219 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic Cc: 43219@debbugs.gnu.org Received: via spool by 43219-submit@debbugs.gnu.org id=B43219.160002181931499 (code B ref 43219); Sun, 13 Sep 2020 18:31:01 +0000 Received: (at 43219) by debbugs.gnu.org; 13 Sep 2020 18:30:19 +0000 Received: from localhost ([127.0.0.1]:51672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHWlW-0008Bx-Kl for submit@debbugs.gnu.org; Sun, 13 Sep 2020 14:30:18 -0400 Received: from mx009.vodafonemail.xion.oxcs.net ([153.92.174.39]:23778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHWlT-0008Bi-Ma for 43219@debbugs.gnu.org; Sun, 13 Sep 2020 14:30:18 -0400 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 9A186604B18; Sun, 13 Sep 2020 18:30:09 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [188.100.45.56]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 37C966051A3; Sun, 13 Sep 2020 18:30:05 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan In-Reply-To: <20200907110552.0bdef27e@scratchpost.org> Date: Sun, 13 Sep 2020 20:30:02 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9ED0EFDA-8A93-4243-9644-BD4DEBE93353@vodafonemail.de> References: <4D0B1280-3FB5-48E5-B985-24773F966618@vodafonemail.de> <20200907110552.0bdef27e@scratchpost.org> X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: myB8QnuXUpZt Hi Danny! > Why does having a NFS root "device" imply using TFTP? >=20 > I can see that it would be nice--but I've been using NFS for many = years without > using TFTP. >=20 >> + ((? (lambda (device) >> + (and (string? device) (string-contains device ":/"))) = nfs-uri) >> + "set root=3D(tftp)") >=20 > What is that required for in practice? One more remark to this. If you used an NFS root file system without using TFTP during boot, then = certainly your bootloader, the initrd and the kernel where stored = locally and have been loaded from disk, not over the network. In Guix the initrd and the kernel are loaded from the store. If the = store is located on a local device, then (grub-root-search) will still = load them from that local device, even if the root file system is on an = NFS share. But in Guix its likely that the store is on the same device as the root = file system. And if the root file system containing the store is mounted = via NFS, then GRUB needs to access the initrd and kernel via network. Bye Stefan=