ref: 4a6ab355c1af789f7ddb4edbf4d82d17efd9d2bf
parent: 76e5cda11aa9ef4a0aa6d1107e03bfefbbf84a9a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Dec 22 21:31:47 EST 2015
file: recognize bootable disk images (by 0x55AA boot sector signature)
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -674,6 +674,7 @@
128*1024, 0x89ae7637, 0xFFFFFFFF, "fossil write buffer", OCTET,
4, 0x31647542, 0xFFFFFFFF, "OS X finder properties", OCTET,
0x100, 0x41474553, 0xFFFFFFFF, "SEGA ROM", OCTET,
+ 0x1fc, 0xAA550000, 0xFFFF0000, "bootable disk image", OCTET,
};
int