From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 5p1wMATWVF8JawAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 12:28:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UPcTLATWVF+FaQAA1q6Kng (envelope-from ) for ; Sun, 06 Sep 2020 12:28:52 +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 7A3F994028F for ; Sun, 6 Sep 2020 12:28:52 +0000 (UTC) Received: from localhost ([::1]:45404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEtEK-0000fr-0u for larch@yhetil.org; Sun, 06 Sep 2020 07:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEtEE-0000fl-Cs for guix-patches@gnu.org; Sun, 06 Sep 2020 07:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEtEE-0001oj-4I for guix-patches@gnu.org; Sun, 06 Sep 2020 07:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEtEE-00016l-3i for guix-patches@gnu.org; Sun, 06 Sep 2020 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43219] [PATCH] gnu: Handle nfs-root device strings. References: <4D0B1280-3FB5-48E5-B985-24773F966618@vodafonemail.de> In-Reply-To: <4D0B1280-3FB5-48E5-B985-24773F966618@vodafonemail.de> Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 11:53:02 +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: 43219@debbugs.gnu.org Cc: Mathieu Othacehe , Maxim Cournoyer , Danny Milosavljevic Received: via spool by 43219-submit@debbugs.gnu.org id=B43219.15993931634234 (code B ref 43219); Sun, 06 Sep 2020 11:53:02 +0000 Received: (at 43219) by debbugs.gnu.org; 6 Sep 2020 11:52:43 +0000 Received: from localhost ([127.0.0.1]:44924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEtDv-00016E-0v for submit@debbugs.gnu.org; Sun, 06 Sep 2020 07:52:43 -0400 Received: from vsmx012.vodafonemail.xion.oxcs.net ([153.92.174.90]:37200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEtDt-000162-NP for 43219@debbugs.gnu.org; Sun, 06 Sep 2020 07:52:42 -0400 Received: from vsmx004.vodafonemail.xion.oxcs.net (unknown [192.168.75.198]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTP id 14FF8F35299; Sun, 6 Sep 2020 11:52:36 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [178.5.77.113]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 8C7C319AE50; Sun, 6 Sep 2020 11:52:27 +0000 (UTC) From: Stefan Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 6 Sep 2020 13:52:28 +0200 Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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.99 X-TUID: Q5gE5mBdxiCa Hi! I=E2=80=99d like to propose these minimal changes to support an NFS as a = root file system. Currently there are three ways to define the root file system: =E2=80=A2 (file-system (device (label =E2=80=A6)) =E2=80=A6),=20 =E2=80=A2 (file-system (device (union =E2=80=A6)) =E2=80=A6),=20 =E2=80=A2 (file-system (device "") =E2=80=A6). The manual does not mention that an NFS is currently not supported as a = root file system. However, NFS mounts are possible already with = (file-system (type "nfs") (device "") =E2=80=A6). This patch enables users to use an NFS also as a root file system = without introducing a new syntax. I was asked before to introduce an record to achieve the = same. And I did so, see = . But due to = some other PXE efforts =E2=80=93 for which I don=E2=80=99t see progress = =E2=80=93 that patch got on hold. However, that record would brake with the compatibility of = how an NFS mount is defined today, and it makes the code much more = complex without having a real gain. I think this minimal patch will not conflict with that other PXE effort. = Its only purpose is to enable the use of an NFS as a root file system = already today. Bye Stefan=