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 cG7zHub8Fl9tSQAA0tVLHw (envelope-from ) for ; Tue, 21 Jul 2020 14:34:14 +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 ABwAG+b8Fl/1agAA1q6Kng (envelope-from ) for ; Tue, 21 Jul 2020 14:34:14 +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 01C7794053C for ; Tue, 21 Jul 2020 14:34:12 +0000 (UTC) Received: from localhost ([::1]:57740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxtLP-0002ng-1z for larch@yhetil.org; Tue, 21 Jul 2020 10:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxtLG-0002lh-Bo for guix-patches@gnu.org; Tue, 21 Jul 2020 10:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxtLG-0005Mm-1S for guix-patches@gnu.org; Tue, 21 Jul 2020 10:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxtLF-00061t-Te for guix-patches@gnu.org; Tue, 21 Jul 2020 10:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41820] [PATCH] file-systems: Add record type for a file system device. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Jul 2020 14:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stefan Cc: Mathieu Othacehe , 41820@debbugs.gnu.org, Brice Waegeneire Received: via spool by 41820-submit@debbugs.gnu.org id=B41820.159534199223118 (code B ref 41820); Tue, 21 Jul 2020 14:34:01 +0000 Received: (at 41820) by debbugs.gnu.org; 21 Jul 2020 14:33:12 +0000 Received: from localhost ([127.0.0.1]:40031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxtKS-00060o-5F for submit@debbugs.gnu.org; Tue, 21 Jul 2020 10:33:12 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:51374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxtKP-00060e-HY for 41820@debbugs.gnu.org; Tue, 21 Jul 2020 10:33:10 -0400 Received: from localhost (80-110-127-146.cgn.dynamic.surfer.at [80.110.127.146]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AE7033360ED2; Tue, 21 Jul 2020 16:33:07 +0200 (CEST) Date: Tue, 21 Jul 2020 16:33:02 +0200 From: Danny Milosavljevic Message-ID: <20200721153601.0cdd5234@scratchpost.org> In-Reply-To: <8F500F26-7E4B-4FA1-B7E9-009ACE01DD5B@vodafonemail.de> References: <87tuz44v7k.fsf@gnu.org> <8F500F26-7E4B-4FA1-B7E9-009ACE01DD5B@vodafonemail.de> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/SZqwaorz0.tcL3Qf.rCUL/d"; protocol="application/pgp-signature"; micalg=pgp-sha512 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.39 X-TUID: zrSMc1BQi5IT --Sig_/SZqwaorz0.tcL3Qf.rCUL/d Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Stefan, just a heads-up, I've forwarded this to Brice Waegeneire, who I think is be= st qualified to review and merge your work. He is working on PXE booting, starting with regular x86_64 machines. So NFS root is totally something he both needs and can help with. Myself, I'm quite satisfied with your version, I'd just like there to be so= me minimal tests of the functionality and that's pretty much it. About the record, if you think it's better without the record, = we can also do without--but I'd like to know Brice's opinion on it. The idea was to have the record be something like https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt if we could have used it. We can't use "nfsroot=3D" directly because we do= n't have network drivers built into the kernel and instead use modules for thos= e. That also means that the initrd modules have to be automatically extended by network card drivers, I guess. So the initrd would basically emulate the fields of "nfsroot=3D" from the l= ink above. So it would be and would have fields like=20 server-ip root-dir nfs-options (a list) You're right that having a with just the host and directory does not make much sense as a record. But we actually need to configure the machine as a client in the network to be able to reach the nfs server, right? I guess we could ignore the problem and have the DHCP server do it, and I'm all for it--but some use cases might need manual configuration, too. Even then, is it possible to know which NFS protocol version to use for the NFS root automatically? Even in your case, you don't actually get the nfs IP from the DHCP server either, but you make the user pass it by splicing it to some string, right? So some kind of or whatever record is necessary, I'd say. @Brice: ? --Sig_/SZqwaorz0.tcL3Qf.rCUL/d Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl8W/J4ACgkQ5xo1VCww uqWa6Qf/R3I1rySpJy0aMgGAaKFlQKT5sPr1W9LJasI34vXIO3SJcmoKPlYI8X85 2evBxv1ak3aW9tBmML9O5u8gOGXSdjiZMpAAQJSLIYXjkUtGlXl0z2iz15zuLho6 XTjALntDAd+KJvvAlys8aAvRFr8b0//6Y1C/heccgLpWP4W/cq4oFS9bWxl6X+65 oSoo1jhNjwm/S8y1ksm1Q3qhDjcLat9iATVQ6D6rXXRTmiJIlmzB7WVz6D5TvHga YmP7lAUI9RGQxVL7ojfOpZnUWnl6uetE6nIWxzCEL2Uo8Da6GEJNDbfQ+4v3mL/d xFGgp3UP1Dz7PQNDyC8/EQ7TZgfcbw== =5/Xd -----END PGP SIGNATURE----- --Sig_/SZqwaorz0.tcL3Qf.rCUL/d--