shithub: riscv

Download patch

ref: 72cb1da8c26aedf2bb2355b1726ddfd30ac6585a
parent: 30e6dc997ffa59e9d4236711d85dc2776a93d6c6
author: qwx <qwx@sciops.net>
date: Sun Oct 15 20:33:27 EDT 2023

file: recognize MOD files (thanks umbraticus)

--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -964,6 +964,7 @@
 } offstrs[] = {
 	32*1024, "\001CD001\001",	"ISO9660 CD image",	7,	"application/x-iso9660-image",
 	32*4, "DICM",	"DICOM medical imaging data",	4,	"application/dicom",
+	1080, "M.K.",	"Amiga module",	4,	"audio/mod",
 	0, 0, 0, 0, 0
 };