From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7STN-0005KW-Pl for guix-patches@gnu.org; Sun, 07 May 2017 16:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7STK-000852-Lj for guix-patches@gnu.org; Sun, 07 May 2017 16:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7STK-00084q-Hn for guix-patches@gnu.org; Sun, 07 May 2017 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7STK-0003p3-5D for guix-patches@gnu.org; Sun, 07 May 2017 16:08:02 -0400 Subject: bug#26815: [PATCH 2/3] vm: Support creating FAT partitions. Resent-Message-ID: Date: Sun, 7 May 2017 22:07:51 +0200 From: Danny Milosavljevic Message-ID: <20170507220751.4d45ece0@scratchpost.org> In-Reply-To: <87tw4wxyun.fsf@fastmail.com> References: <20170507143647.21036-1-mbakke@fastmail.com> <20170507143647.21036-2-mbakke@fastmail.com> <20170507172656.55edb3e9@scratchpost.org> <871ss0zmt0.fsf@fastmail.com> <20170507190637.0bf9c4ce@scratchpost.org> <87tw4wxyun.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 26815@debbugs.gnu.org >+(define* (format-partition partition type >+ #:key label) >+ "Create a file system TYPE on PARTITION. If LABEL is true, use that as the >+volume name." >+ (cond >+ ((string-prefix? "ext" type) >+ (create-ext-file-system partition type #:label label)) >+ ((string-suffix? "fat" type) >+ (create-fat-file-system partition #:label label)) >+ (else (error "Unsupported file system.")))) ^^^ Indentation of the "else" is strange. Otherwise LGTM!