Received: from list by lists.gnu.org with archive (Exim 4.71) id 1azntF-0005E6-Nv for mharc-grub-devel@gnu.org; Mon, 09 May 2016 12:18:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aznt9-0004kY-1x for grub-devel@gnu.org; Mon, 09 May 2016 12:18:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aznt1-0000ic-Ej for grub-devel@gnu.org; Mon, 09 May 2016 12:18:30 -0400 Received: from smtpgw.dds.nl ([91.142.252.201]:48654 helo=smtp1.dds.nl) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aznt1-0000g8-2w for grub-devel@gnu.org; Mon, 09 May 2016 12:18:23 -0400 Received: from webmail.dds.nl (app1.dds.nl [81.21.136.61]) by smtp1.dds.nl (Postfix) with ESMTP id 621BC7F922 for ; Mon, 9 May 2016 18:18:19 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 09 May 2016 18:18:19 +0200 From: Dryden Personalis To: The development of GNU GRUB Subject: Re: [PATCH] Install to LVM PVs In-Reply-To: <74e43e3a3555eec41667a2c3e326c8af@dds.nl> References: <572ED720.30800@gmail.com> <57302925.2000000@gmail.com> <74e43e3a3555eec41667a2c3e326c8af@dds.nl> Message-ID: X-Sender: list@xenhideout.nl User-Agent: Roundcube Webmail/1.1.5 X-Virus-Scanned: clamav-milter 0.99.1 at smtp1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 91.142.252.201 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: Mon, 09 May 2016 16:18:35 -0000 Dryden Personalis schreef op 09-05-2016 18:10: > I have reverted to that of the patch (or similar): > > if (fs_probe) > { > if (!is_lvm && !fs && !ctx.dest_partmap) > grub_util_error (_("unable to identify a filesystem in %s; > safety check can't be performed"), dest_dev->disk->name); In particular I feel !is_lvm and !ctx.dest_partmap are equivalent. Why, they both indicate partitions, instead of being a partition (with a filesystem).