From 19f35b93a3d34c8b21027d3f953289338727c406 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 29 Oct 2017 18:39:46 +0000 Subject: [PATCH] improve on nero images (NRG) and add extensions (Joerg Jenderek) --- magic/Magdir/filesystems | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/filesystems b/magic/Magdir/filesystems index 48b74e04..72edcfec 100644 --- a/magic/Magdir/filesystems +++ b/magic/Magdir/filesystems @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: filesystems,v 1.122 2017/07/21 10:34:41 christos Exp $ +# $File: filesystems,v 1.123 2017/10/29 18:39:46 christos Exp $ # filesystems: file(1) magic for different filesystems # 0 name partid @@ -1937,8 +1937,10 @@ 0 name cdrom >38913 string !NSR0 ISO 9660 CD-ROM filesystem data !:mime application/x-iso9660-image +!:ext iso/iso9660 >38913 string NSR0 UDF filesystem data !:mime application/x-iso9660-image +!:ext iso/udf >>38917 string 1 (version 1.0) >>38917 string 2 (version 1.5) >>38917 string 3 (version 2.0) @@ -1964,6 +1966,16 @@ !:strength +34 >0 use cdrom +# URL: https://en.wikipedia.org/wiki/NRG_(file_format) +# Reference: https://dl.opendesktop.org/api/files/download/id/1460731811/ +# 11577-mount-iso-0.9.5.tar.bz2/mount-iso-0.9.5/install.sh +# From: Joerg Jenderek +# Note: Only for nero disc with once (DAO) type after 300 KB header +339969 string CD001 Nero CD image at 0x4B000 +!:mime application/x-nrg +!:ext nrg +>307200 use cdrom + # .cso files # Reference: http://pismotec.com/ciso/ciso.h # NOTE: There are two other formats with the same magic but -- 2.40.0