From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH] gnu: Mark /gnu/store as needed for boot. Date: Sun, 15 Jan 2017 10:53:02 +0100 Message-ID: References: <1484164902-10160-1-git-send-email-jmd@gnu.org> <877f5xjpmk.fsf@gnu.org> <20170115063226.GA20478@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cShUp-0005o7-7K for guix-devel@gnu.org; Sun, 15 Jan 2017 04:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cShUm-00008J-4u for guix-devel@gnu.org; Sun, 15 Jan 2017 04:53:07 -0500 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:35146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cShUm-00007w-0B for guix-devel@gnu.org; Sun, 15 Jan 2017 04:53:04 -0500 Received: by mail-qt0-x234.google.com with SMTP id x49so82413276qtc.2 for ; Sun, 15 Jan 2017 01:53:03 -0800 (PST) In-Reply-To: <20170115063226.GA20478@jocasta.intra> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel , John Darrington > will erroneously return #t when (file-system-mount-point fs) evaluates > to "/gn" and (%store-directory) to "/gnu/store". Will it not??? The trick is to revert the arguments: (string-prefix? (%store-directory) (file-system-mount-point fs))