]> granicus.if.org Git - file/commitdiff
improve on nero images (NRG) and add extensions (Joerg Jenderek)
authorChristos Zoulas <christos@zoulas.com>
Sun, 29 Oct 2017 18:39:46 +0000 (18:39 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 29 Oct 2017 18:39:46 +0000 (18:39 +0000)
magic/Magdir/filesystems

index 48b74e04c8ffca288b2871947745f12f74b253a4..72edcfece23ce9ad283d10e197728172f67a430b 100644 (file)
@@ -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
 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)
 !: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