Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gHpkV-0007Uo-QC for mharc-grub-devel@gnu.org; Wed, 31 Oct 2018 08:37:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHpkT-0007TC-4b for grub-devel@gnu.org; Wed, 31 Oct 2018 08:37:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHpkN-00084c-KW for grub-devel@gnu.org; Wed, 31 Oct 2018 08:37:24 -0400 Received: from dibed.net-space.pl ([84.10.22.86]:33846) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1gHpkL-00081r-Ev for grub-devel@gnu.org; Wed, 31 Oct 2018 08:37:18 -0400 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@dibed.net-space.pl)) by router-fw-old.i.net-space.pl id S1877804AbeJaMhP (ORCPT ); Wed, 31 Oct 2018 13:37:15 +0100 Date: Wed, 31 Oct 2018 13:37:15 +0100 From: Daniel Kiper To: Colin Watson Cc: grub-devel@gnu.org Subject: Re: [PATCH] Cope with / being on a ZFS root dataset Message-ID: <20181031123715.GC13223@router-fw-old.i.net-space.pl> References: <20181029123337.bzrbdbc6bdh52wax@riva.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181029123337.bzrbdbc6bdh52wax@riva.ucam.org> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 84.10.22.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2018 12:37:26 -0000 On Mon, Oct 29, 2018 at 12:33:37PM +0000, Colin Watson wrote: > If / is on the root dataset in a ZFS pool, then ${bootfs} will be set to > "/" (whereas if it is on a non-root dataset, there will be no trailing > slash). Passing "root=ZFS=${rpool}/" will fail to boot, but > "root=ZFS=${rpool}" works fine, so strip the trailing slash. > > Fixes: https://savannah.gnu.org/bugs/?52746 > Tested-by: Fejes J??zsef > Signed-off-by: Colin Watson Reviewed-by: Daniel Kiper Daniel