import: rename "gpt" disk image type to "raw"

After all, nspawn can now dissect MBR partition levels, too, hence
".gpt" appears a misnomer. Moreover, the the .raw suffix for these files
is already pretty popular (the Fedora disk images use it for example),
hence sounds like an OK scheme to adopt.
This commit is contained in:
Lennart Poettering
2015-01-15 01:47:21 +01:00
parent d31f44e281
commit aceac2f0b6
7 changed files with 93 additions and 93 deletions
+1 -1
View File
@@ -3321,7 +3321,7 @@ static int determine_names(void) {
return -ENOENT;
}
if (i->type == IMAGE_GPT)
if (i->type == IMAGE_RAW)
r = set_sanitized_path(&arg_image, i->path);
else
r = set_sanitized_path(&arg_directory, i->path);