shithub: riscv

Download patch

ref: 27a63ae22975171efbee5549d100f416ccb4066a
parent: 3c53420eaeeeb4a0f388d706488097e97f01632d
author: Jacob Moody <[email protected]>
date: Sun Apr 2 00:36:14 EDT 2023

file: identify qcow images

--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -842,6 +842,7 @@
 	"!<arch>\n__.SYMDEF",	"archive random library",	16,	OCTET,
 	"!<arch>\n",		"archive",			8,	OCTET,
 	"070707",		"cpio archive - ascii header",	6,	OCTET,
+	"QFI\xfb",		"QCOW disk image",		4,	OCTET,
 	"%!",			"postscript",			2,	"application/postscript",
 	"\004%!",		"postscript",			3,	"application/postscript",
 	"x T post",		"troff output for post",	8,	"application/troff",