|
From: | Danny Milosavljevic |
Subject: | bug#26815: [PATCH 2/3] vm: Support creating FAT partitions. |
Date: | Sun, 7 May 2017 22:07:51 +0200 |
>+(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!
[Prev in Thread] | Current Thread | [Next in Thread] |