mime_db Add additional disk image types
* Two disk image types added to the mime_db with sniffer rules 1 x-intel-image as a generic type for images using an intel partition style boot sector 2 x-ntfs-image a specific type for ntfs format image files Default handler for these types is set to mountvolume, which handles ntfs and fat images detected by these sniffers, in the same manner as bfs images detected by x-bfs-image. Change-Id: I994fa23bcc988c40a098aa106587e75d9e1f9b4b Reviewed-on: https://review.haiku-os.org/c/964 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
parent
434c347111
commit
2f8e8732e1
35
src/data/mime_db/application/x-intel-image
Normal file
35
src/data/mime_db/application/x-intel-image
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "application/x-intel-image";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "Disk image";
|
||||
|
||||
resource(3, "META:L:DESC") #'MLDC' "Generic Intel® partition disk image";
|
||||
|
||||
resource(4, "META:SNIFF_RULE") "0.40 [510:511] (0x55aa)";
|
||||
|
||||
resource(5, "META:EXTENS") message(234) {
|
||||
"extensions" = "image",
|
||||
"extensions" = "img",
|
||||
"extensions" = "mmc",
|
||||
"type" = "application/x-intel-image"
|
||||
};
|
||||
|
||||
resource(6, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku-mountvolume";
|
||||
|
||||
resource(7, "META:ICON") #'VICN' array {
|
||||
$"6E636966080500040054020006023B019B3AA235BC243E3C71D248D17C498491"
|
||||
$"00E7BB8FFFC99867020006023BA71138D0C8BBF4B83E90E64AED7C485BD7008A"
|
||||
$"561DFFB57A3A02000602BB6FCBB8D4C839AA71BC3992492FF148D96A00FFC790"
|
||||
$"FFFFF4EA0366330003FFDFC003AD7238110A0626543A464C455C4B4C603E600A"
|
||||
$"063822262E264F3C5A4E484E2A0A04262E264F3C5A3C370A043C373C5A4E484E"
|
||||
$"2A0A043822262E3C374E2A0A042832284E3A573A390A042A4D2B4638492A430A"
|
||||
$"042A4D365238492B460A042A4D3854384936520A042E4CBB2BC5D3BB2BC5072E"
|
||||
$"4A0A042C49344D344B2C470A042A352A402B38383B0A0436442A403846383B0A"
|
||||
$"042B382A403644383B0A042EBE672EBF33BB2DC03FBB2DBF730A042CBD292CBD"
|
||||
$"F5343F343D08022A4E2A540E0A010100000A0001101001178420040A00011030"
|
||||
$"302901178420040A00011030401B01178420040A0001011001178400040A0201"
|
||||
$"02000A030103000A040104000A050105000A06020B06000A0202070D000A0702"
|
||||
$"0C08000A0302090E0815FF0A00020A0F0815FF"
|
||||
};
|
35
src/data/mime_db/application/x-ntfs-image
Normal file
35
src/data/mime_db/application/x-ntfs-image
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "application/x-ntfs-image";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "NTFS Disk image";
|
||||
|
||||
resource(3, "META:L:DESC") #'MLDC' "Microsoft® NTFS Disk image";
|
||||
|
||||
resource(4, "META:SNIFF_RULE") "0.50 [3:6] (\"NTFS\") ([510:511] 0x55aa)";
|
||||
|
||||
resource(5, "META:EXTENS") message(234) {
|
||||
"extensions" = "image",
|
||||
"extensions" = "img",
|
||||
"extensions" = "mmc",
|
||||
"type" = "application/x-ntfs-image"
|
||||
};
|
||||
|
||||
resource(6, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku-mountvolume";
|
||||
|
||||
resource(7, "META:ICON") #'VICN' array {
|
||||
$"6E636966080500040054020006023B019B3AA235BC243E3C71D248D17C498491"
|
||||
$"00E7BB8FFFC99867020006023BA71138D0C8BBF4B83E90E64AED7C485BD7008A"
|
||||
$"561DFFB57A3A02000602BB6FCBB8D4C839AA71BC3992492FF148D96A00FFC790"
|
||||
$"FFFFF4EA0366330003FFDFC003AD7238110A0626543A464C455C4B4C603E600A"
|
||||
$"063822262E264F3C5A4E484E2A0A04262E264F3C5A3C370A043C373C5A4E484E"
|
||||
$"2A0A043822262E3C374E2A0A042832284E3A573A390A042A4D2B4638492A430A"
|
||||
$"042A4D365238492B460A042A4D3854384936520A042E4CBB2BC5D3BB2BC5072E"
|
||||
$"4A0A042C49344D344B2C470A042A352A402B38383B0A0436442A403846383B0A"
|
||||
$"042B382A403644383B0A042EBE672EBF33BB2DC03FBB2DBF730A042CBD292CBD"
|
||||
$"F5343F343D08022A4E2A540E0A010100000A0001101001178420040A00011030"
|
||||
$"302901178420040A00011030401B01178420040A0001011001178400040A0201"
|
||||
$"02000A030103000A040104000A050105000A06020B06000A0202070D000A0702"
|
||||
$"0C08000A0302090E0815FF0A00020A0F0815FF"
|
||||
};
|
Loading…
Reference in New Issue
Block a user