Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nMYGD-0003v5-2u for mharc-grub-devel@gnu.org; Tue, 22 Feb 2022 11:43:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMYGA-0003q6-F3; Tue, 22 Feb 2022 11:43:30 -0500 Received: from [2a0c:e300::1] (port=36010 helo=hera.aquilenet.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMYG5-0001f5-54; Tue, 22 Feb 2022 11:43:29 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BE129545; Tue, 22 Feb 2022 17:43:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qU0jDtoyVZQg; Tue, 22 Feb 2022 17:43:20 +0100 (CET) Received: from begin (unknown [IPv6:2a01:cb19:956:1b00:de41:a9ff:fe47:ec49]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C57CECA; Tue, 22 Feb 2022 17:43:19 +0100 (CET) Received: from samy by begin with local (Exim 4.95) (envelope-from ) id 1nMYFy-00ETLu-Db; Tue, 22 Feb 2022 17:43:18 +0100 Date: Tue, 22 Feb 2022 17:43:18 +0100 From: Samuel Thibault To: Daniel Kiper Cc: grub-devel@gnu.org, bug-hurd@gnu.org Subject: Re: [PATCH] hurd: Add support for rumpdisk device names Message-ID: <20220222164318.dazfdmmyfjsjzr6a@begin> Mail-Followup-To: Daniel Kiper , grub-devel@gnu.org, bug-hurd@gnu.org References: <20220221234845.hj2gzwukdty4wqqi@begin> <20220222134257.uf74lp22nvidf37s@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220222134257.uf74lp22nvidf37s@tomti.i.net-space.pl> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: BE129545 X-Spamd-Result: default: False [0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a0c:e300::1 (failed) Received-SPF: neutral client-ip=2a0c:e300::1; envelope-from=samuel.thibault@ens-lyon.org; helo=hera.aquilenet.fr X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2022 16:43:31 -0000 Daniel Kiper, le mar. 22 févr. 2022 14:42:57 +0100, a ecrit: > On Tue, Feb 22, 2022 at 12:48:45AM +0100, Samuel Thibault wrote: > > On GNU/Hurd grub2 currently only looks at /dev/hd* and /dev/sd*. With > > rumpdisk we now also need to look at /dev/wd* > > > > Signed-off-by: Samuel Thibault > > > > Index: grub2-2.06/util/deviceiter.c > > =================================================================== > > --- grub2-2.06.orig/util/deviceiter.c > > +++ grub2-2.06/util/deviceiter.c > > Hmmm... This file does not exist in the GRUB upstream. Am I missing something? Ah, that was removed indeed. > > +#ifdef __GNU__ > > + /* The rest is SCSI disks. */ > > s/is/are/? > > ... and are those really SCSI disks if you mention /dev/sd* in the > commit message above? Yes, there are different drivers which produce different namings. Samuel