1b6cee71dSXin LI 2b6cee71dSXin LI#------------------------------------------------------------------------------ 340427ccaSGordon Tetlow# $File: dump,v 1.16 2017/07/22 19:21:02 christos Exp $ 4b6cee71dSXin LI# dump: file(1) magic for dump file format--for new and old dump filesystems 5b6cee71dSXin LI# 6b6cee71dSXin LI# We specify both byte orders in order to recognize byte-swapped dumps. 7b6cee71dSXin LI# 8b6cee71dSXin LI0 name new-dump-be 9*96421966SOleksandr Tymoshenko>4 bedate x This dump %s, 10*96421966SOleksandr Tymoshenko>8 bedate x Previous dump %s, 11b6cee71dSXin LI>12 belong >0 Volume %d, 12b6cee71dSXin LI>692 belong 0 Level zero, type: 13b6cee71dSXin LI>692 belong >0 Level %d, type: 14b6cee71dSXin LI>0 belong 1 tape header, 15b6cee71dSXin LI>0 belong 2 beginning of file record, 16b6cee71dSXin LI>0 belong 3 map of inodes on tape, 17b6cee71dSXin LI>0 belong 4 continuation of file record, 18b6cee71dSXin LI>0 belong 5 end of volume, 19b6cee71dSXin LI>0 belong 6 map of inodes deleted, 20b6cee71dSXin LI>0 belong 7 end of medium (for floppy), 21b6cee71dSXin LI>676 string >\0 Label %s, 22b6cee71dSXin LI>696 string >\0 Filesystem %s, 23b6cee71dSXin LI>760 string >\0 Device %s, 24b6cee71dSXin LI>824 string >\0 Host %s, 25b6cee71dSXin LI>888 belong >0 Flags %x 26b6cee71dSXin LI 27b6cee71dSXin LI0 name old-dump-be 28*96421966SOleksandr Tymoshenko#>4 bedate x This dump %s, 29*96421966SOleksandr Tymoshenko#>8 bedate x Previous dump %s, 30b6cee71dSXin LI>12 belong >0 Volume %d, 31b6cee71dSXin LI>692 belong 0 Level zero, type: 32b6cee71dSXin LI>692 belong >0 Level %d, type: 33b6cee71dSXin LI>0 belong 1 tape header, 34b6cee71dSXin LI>0 belong 2 beginning of file record, 35b6cee71dSXin LI>0 belong 3 map of inodes on tape, 36b6cee71dSXin LI>0 belong 4 continuation of file record, 37b6cee71dSXin LI>0 belong 5 end of volume, 38b6cee71dSXin LI>0 belong 6 map of inodes deleted, 39b6cee71dSXin LI>0 belong 7 end of medium (for floppy), 40b6cee71dSXin LI>676 string >\0 Label %s, 41b6cee71dSXin LI>696 string >\0 Filesystem %s, 42b6cee71dSXin LI>760 string >\0 Device %s, 43b6cee71dSXin LI>824 string >\0 Host %s, 44b6cee71dSXin LI>888 belong >0 Flags %x 45b6cee71dSXin LI 46b6cee71dSXin LI0 name ufs2-dump-be 47*96421966SOleksandr Tymoshenko>896 beqdate x This dump %s, 48*96421966SOleksandr Tymoshenko>904 beqdate x Previous dump %s, 49b6cee71dSXin LI>12 belong >0 Volume %d, 50b6cee71dSXin LI>692 belong 0 Level zero, type: 51b6cee71dSXin LI>692 belong >0 Level %d, type: 52b6cee71dSXin LI>0 belong 1 tape header, 53b6cee71dSXin LI>0 belong 2 beginning of file record, 54b6cee71dSXin LI>0 belong 3 map of inodes on tape, 55b6cee71dSXin LI>0 belong 4 continuation of file record, 56b6cee71dSXin LI>0 belong 5 end of volume, 57b6cee71dSXin LI>0 belong 6 map of inodes deleted, 58b6cee71dSXin LI>0 belong 7 end of medium (for floppy), 59b6cee71dSXin LI>676 string >\0 Label %s, 60b6cee71dSXin LI>696 string >\0 Filesystem %s, 61b6cee71dSXin LI>760 string >\0 Device %s, 62b6cee71dSXin LI>824 string >\0 Host %s, 63b6cee71dSXin LI>888 belong >0 Flags %x 64b6cee71dSXin LI 65b6cee71dSXin LI24 belong 60012 new-fs dump file (big endian), 66b6cee71dSXin LI>0 use new-dump-be 67b6cee71dSXin LI 68b6cee71dSXin LI24 belong 60011 old-fs dump file (big endian), 69b6cee71dSXin LI>0 use old-dump-be 70b6cee71dSXin LI 71b6cee71dSXin LI24 lelong 60012 new-fs dump file (little endian), 7240427ccaSGordon Tetlow# to correctly recognize '*.mo' GNU message catalog (little endian) 7340427ccaSGordon Tetlow!:strength - 15 74b6cee71dSXin LI>0 use \^new-dump-be 75b6cee71dSXin LI 76b6cee71dSXin LI24 lelong 60011 old-fs dump file (little endian), 77b6cee71dSXin LI>0 use \^old-dump-be 78b6cee71dSXin LI 79b6cee71dSXin LI 80b6cee71dSXin LI24 belong 0x19540119 new-fs dump file (ufs2, big endian), 81b6cee71dSXin LI>0 use ufs2-dump-be 82b6cee71dSXin LI 83b6cee71dSXin LI24 lelong 0x19540119 new-fs dump file (ufs2, little endian), 84b6cee71dSXin LI>0 use \^ufs2-dump-be 85b6cee71dSXin LI 86b6cee71dSXin LI18 leshort 60011 old-fs dump file (16-bit, assuming PDP-11 endianness), 87b6cee71dSXin LI>2 medate x Previous dump %s, 88b6cee71dSXin LI>6 medate x This dump %s, 89b6cee71dSXin LI>10 leshort >0 Volume %d, 90b6cee71dSXin LI>0 leshort 1 tape header. 91b6cee71dSXin LI>0 leshort 2 beginning of file record. 92b6cee71dSXin LI>0 leshort 3 map of inodes on tape. 93b6cee71dSXin LI>0 leshort 4 continuation of file record. 94b6cee71dSXin LI>0 leshort 5 end of volume. 95b6cee71dSXin LI>0 leshort 6 map of inodes deleted. 96b6cee71dSXin LI>0 leshort 7 end of medium (for floppy). 97