7252 Commits

Author SHA1 Message Date
088a8dd141 * FileSystemIDandChk/Plugins/FAT.cs:
Modified logic to work around FAT12 predating DOS 2.0.
	  Limiting it to disks supported by 86-DOS and DOS 1.x, yet
	  probably it will give false positives.

	* FileSystemIDandChk/PrintHex.cs:
	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  Added function to print hexadecimal output of sector, useful
	  for debugging with compressed disk images.
2014-06-07 17:21:40 +01:00
e6aeb84122 There can be empty tracks, ignore them. 2014-06-07 15:32:35 +01:00
6874ea8de2 Hardlinked README.md from root to project's 2014-06-07 05:59:25 +01:00
02d2e87749 * Packages.mdproj:
* FileSystemIDandChk.sln:
	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  Added version and description to solution.

	* FileSystemIDandChk/Plugins/Plugin.cs:
	* FileSystemIDandChk/PartPlugins/PartPlugin.cs:
	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Converted comments to inline XML documentation.

	* FileSystemIDandChk/ImagePlugins/TeleDisk.cs:
	  Removed unneeded "this" statements.
	Removed unreachable code.
	Removed spurious initialization.

	* FileSystemIDandChk/README.md:
	  Updated readme to show TeleDisk support and new version.
2014-06-07 05:57:17 +01:00
8e0dde88bc * FileSystemIDandChk/ArrayFill.cs:
* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  Added array filling class from mykohsu.

	* FileSystemIDandChk/Main.cs:
	  Print disk type as identified by image plugin

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Added more disk types

	* FileSystemIDandChk/ImagePlugins/TeleDisk.cs:
	  Added link to Dave's document.
	Completely implemented OpenImage() for standard
	  (non-compressed) teledisk images.
	Implemented GetImageSize(), GetSectors(), GetSectorSize(),
	  ReadSectors(), GetImageVersion(),
	  GetImageApplicationVersion(), GetImageCreationTime(),
	  GetImageLastModificationtime(), GetImageName(),
	  GetDiskType(), data sector decoders.

	* FileSystemIDandChk/TODO:
	  Discovered a filesystem specification present on ECMA-67.
	  Dunno if CP/M, FAT or a different one, must check.
	Teledisk plugin is working, but lacks "advanced compression"
	  and variable sectors per track support.
2014-06-07 04:54:15 +01:00
4a35b934e5 Start to implement OpenImage(), decode comment block. 2014-04-21 20:27:50 +01:00
b9e78615e2 Added CRC calculation method and check of header using CRC to
return a positive identification.
2014-04-21 17:23:35 +01:00
76b91a16f9 Started Sydex TeleDisk implementation, with structs, constants and
initial Identify() implementation.
2014-04-19 21:21:08 +01:00
1491a5ccca Change license from AGPLv3 to GPLv3 to make some good friends happier,
and be able to use code from Linux if ever *ever* needed.
2014-04-19 18:23:00 +01:00
7cf0ce298d Linked out-project text files to in-project one 2014-04-18 20:32:52 +01:00
1e37583c5f Linked out-project README to in-project one 2014-04-18 20:31:58 +01:00
6ae3e8b211 Correct typo
git-svn-id: svn://claunia.com/FileSystemIDandChk@41 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 21:31:22 +00:00
649ba83040 Manually added old entries to Changelog
git-svn-id: svn://claunia.com/FileSystemIDandChk@40 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 21:20:57 +00:00
805de66ba5 Add documentation and license and prepare for publication
git-svn-id: svn://claunia.com/FileSystemIDandChk@39 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 21:11:36 +00:00
6a3902c65a Added svn:keywords
git-svn-id: svn://claunia.com/FileSystemIDandChk@38 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 20:02:38 +00:00
d405d7410e Added information and license header.
git-svn-id: svn://claunia.com/FileSystemIDandChk@37 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 19:58:14 +00:00
7b4af21358 * FileSystemIDandChk/DateHandlers.cs:
Lisa epoch is 1901 not 1904

	* FileSystemIDandChk/Plugins/LisaFS.cs:
	  Typos corrected, now works perfectly

git-svn-id: svn://claunia.com/FileSystemIDandChk@36 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 17:13:44 +00:00
2290774958 * FileSystemIDandChk/DateHandlers.cs:
lisatime_t is unsigned

	* FileSystemIDandChk/Plugins/LisaFS.cs:
	  Added code to search for MDDF, check some variables to be
	  sure it's a real MDDF, and get information about it.

git-svn-id: svn://claunia.com/FileSystemIDandChk@35 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 16:57:22 +00:00
1724edbcc6 * FileSystemIDandChk/Plugins/LisaFS.cs:
* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  Added LisaFS skeleton with Lisa's MDDF and tag structs

	* FileSystemIDandChk/DateHandlers.cs:
	  Added convert function from Lisa timestamp fields to C#
	  DateTime

git-svn-id: svn://claunia.com/FileSystemIDandChk@34 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 03:45:02 +00:00
1dfda680a8 Added support for Apple FileWare (aka Twiggy) disks as dumped
by Sigma Seven's BLU

git-svn-id: svn://claunia.com/FileSystemIDandChk@33 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 03:19:27 +00:00
c42a5bdf27 Corrected alignment failure because of incorrect type
definition on MDB struct.

git-svn-id: svn://claunia.com/FileSystemIDandChk@32 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 02:58:08 +00:00
ddad70068f Correct typos, misalignment of field and BigEndianBitConverter
behaviour

git-svn-id: svn://claunia.com/FileSystemIDandChk@31 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-17 01:13:48 +00:00
f521d44852 * FileSystemIDandChk/FileSystemIDandChk.csproj:
* FileSystemIDandChk/ImagePlugins/DiskCopy42.cs:
	  Added support for Apple DiskCopy 4.2 format

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Added standard IBM, DEC and Apple floppy formats

git-svn-id: svn://claunia.com/FileSystemIDandChk@30 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-15 21:04:04 +00:00
430d71693a Refactor and reformat code
git-svn-id: svn://claunia.com/FileSystemIDandChk@29 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-14 02:29:13 +00:00
27791637fb Constrain debug information to debug mode
git-svn-id: svn://claunia.com/FileSystemIDandChk@28 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-14 01:31:32 +00:00
32bb28e8c2 * FileSystemIDandChk/BigEndianBitConverter.cs:
Added BitConverter for BigEndian

	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  FileSystemIDandChk/BigEndianBitConverter.cs


	* FileSystemIDandChk/ImagePlugins/CDRWin.cs:
	  Corrected parsing
	Implemented all ImagePlugin methods

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Used document auto formatting

	* FileSystemIDandChk/Main.cs:
	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/Plugins/BFS.cs:
	* FileSystemIDandChk/Plugins/FFS.cs:
	* FileSystemIDandChk/Plugins/ODS.cs:
	* FileSystemIDandChk/Plugins/HPFS.cs:
	* FileSystemIDandChk/Plugins/SysV.cs:
	* FileSystemIDandChk/Plugins/NTFS.cs:
	* FileSystemIDandChk/Plugins/extFS.cs:
	* FileSystemIDandChk/Plugins/Opera.cs:
	* FileSystemIDandChk/Plugins/ext2FS.cs:
	* FileSystemIDandChk/Plugins/Plugin.cs:
	* FileSystemIDandChk/Plugins/UNIXBFS.cs:
	* FileSystemIDandChk/Plugins/SolarFS.cs:
	* FileSystemIDandChk/PartPlugins/MBR.cs:
	* FileSystemIDandChk/Plugins/MinixFS.cs:
	* FileSystemIDandChk/Plugins/ISO9660.cs:
	* FileSystemIDandChk/Plugins/PCEngine.cs:
	* FileSystemIDandChk/Plugins/AppleHFS.cs:
	* FileSystemIDandChk/PartPlugins/NeXT.cs:
	* FileSystemIDandChk/Plugins/AppleMFS.cs:
	* FileSystemIDandChk/PartPlugins/AppleMap.cs:
	* FileSystemIDandChk/Plugins/AppleHFSPlus.cs:
	  Added support for disc image plugins

	* FileSystemIDandChk/PartPlugins/PartPlugin.cs:
	  Added support for disc image plugins
	Added start sector and length in sectors to partitions

	* FileSystemIDandChk/Plugins/Symbian.cs:
	  Commented til code is adapted for disc image plugins

git-svn-id: svn://claunia.com/FileSystemIDandChk@27 17725271-3d32-4980-a8cb-9ff532f270ba
2014-04-14 01:14:20 +00:00
0abc5476b5 Implemented CDRWin parser.
git-svn-id: svn://claunia.com/FileSystemIDandChk@26 17725271-3d32-4980-a8cb-9ff532f270ba
2013-12-16 01:04:17 +00:00
9f91ae340c Added CDRWin image plugin skeleton.
git-svn-id: svn://claunia.com/FileSystemIDandChk@25 17725271-3d32-4980-a8cb-9ff532f270ba
2013-12-14 23:02:04 +00:00
18ade83e2c Started adding image formats support.
git-svn-id: svn://claunia.com/FileSystemIDandChk@24 17725271-3d32-4980-a8cb-9ff532f270ba
2013-12-14 20:35:22 +00:00
846e241523 Started adding image formats support.
git-svn-id: svn://claunia.com/FileSystemIDandChk@23 17725271-3d32-4980-a8cb-9ff532f270ba
2013-12-14 20:35:03 +00:00
1781df1451 * SysV.cs:
* FileSystemIDandChk.csproj: Added support for System V filesystem

* MBR.cs: UnixWare is not the only one using the UNIX disklabel
Corrected UNIX disklabel sector.
Enhanced UNIX disklabel with structs and consts.
Added support for old UNIX disklabels.

* Swapping.cs: Added code for middle-endian (PDP-endian)

git-svn-id: svn://claunia.com/FileSystemIDandChk@22 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-07 06:20:13 +00:00
6d0709537d * UNIXBFS.cs:
* FileSystemIDandChk.csproj: Added UNIX Boot filesystem.

* FAT.cs: Don't seek to FAT if value is bigger than volume size.

git-svn-id: svn://claunia.com/FileSystemIDandChk@21 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-06 21:21:14 +00:00
12a475d1ad Added code for detection Solar_OS filesystem
git-svn-id: svn://claunia.com/FileSystemIDandChk@20 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-06 20:51:28 +00:00
146ac0130f Add debug information.
De-hardcode FAT location, use correct data from BPB or
	hardcode in case data is empty.
	Show volume size in bytes also.
	Added offset of PB entries on comments.

git-svn-id: svn://claunia.com/FileSystemIDandChk@19 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-05 21:10:54 +00:00
430af419de Added Minix V1, V2 and V3 filesystems.
git-svn-id: svn://claunia.com/FileSystemIDandChk@18 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-05 18:13:48 +00:00
fbddfe4aec Added debug information and prevent malformed datetime strings
crash ISO9660ToDateTime class

git-svn-id: svn://claunia.com/FileSystemIDandChk@17 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-05 16:45:15 +00:00
a20dbb709a * FileSystemIDandChk/Plugins/ISO9660.cs:
Added code preventing it to be run on each partition,
	  because this filesystem will be once and only. Now it runs
	  only one time whenever there are partitions or how many.

	* FileSystemIDandChk/Plugins/FAT.cs:
	  Added code to handle false positives (FATs can be 1 or 2,
	  maybe 0 in the wild, never bigger).
	Modified for BinaryReader class.

	* FileSystemIDandChk/Plugins/BFS.cs:
	  Missed negation operand

	* FileSystemIDandChk/PartPlugins/NeXT.cs:
	* FileSystemIDandChk/PartPlugins/AppleMap.cs:
	  Added constants and modified for EndianAwareBinaryReader
	  class.

git-svn-id: svn://claunia.com/FileSystemIDandChk@16 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-05 03:02:55 +00:00
9d446877b4 * FileSystemIDandChk/Plugins/ODS.cs:
Use StringHandlers class to prevent garbage coming from
	  strings (even if they are not C strings, it does not hurt).

	* FileSystemIDandChk/Plugins/AppleHFS.cs:
	  Use constants.

	* FileSystemIDandChk/Plugins/BFS.cs:
	* FileSystemIDandChk/Plugins/AppleMFS.cs:
	* FileSystemIDandChk/Plugins/AppleHFSPlus.cs:
	  Use constants and EndianAwareBinaryReader class.

	* FileSystemIDandChk/Plugins/Opera.cs:
	  Use a superblock structure and EndianAwareBinaryReader
	  class, reduces lots of code.

git-svn-id: svn://claunia.com/FileSystemIDandChk@15 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-05 00:43:49 +00:00
c50e117c8d * CToString.cs: Renamed to StringHandlers.cs
* AppleHFS.cs: Modified to use EndianAwareBinaryReader and
  PascalToString classes

* FileSystemIDandChk.csproj: CToString.cs renamed to StringHandlers.cs

* StringHandlers.cs: Added code to convert Pascal string to .NET
  String

git-svn-id: svn://claunia.com/FileSystemIDandChk@14 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-04 18:20:03 +00:00
9ae0530b90 * FileSystemIDandChk.sln: Updated solution version to VS2010
* Packages.mdproj: 

* FFS.cs: Added code for detecting 42BSD, 43BSD, 44BSD, SunOS,
  SunOS/x86, UFS and UFS2 filesystems. Block size is incorrect on
  NeXTStep's CD UFSs, but there is no way to check for it.

* Main.cs: Disable debug by default

* FileSystemIDandChk.csproj: Moved to .NET 4 and added
  EndianAwareBinaryReader class

* EndianAwareBinaryReader.cs: Override of BinaryReader class with the
  ability to automatically swap endianness

git-svn-id: svn://claunia.com/FileSystemIDandChk@13 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-04 15:11:36 +00:00
2c64308a76 When Joliet is present, show both Joliet and Primary volume
descriptors, as they may not be in sync

git-svn-id: svn://claunia.com/FileSystemIDandChk@12 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-03 05:43:58 +00:00
00264f2fba * ODS.cs:
* HPFS.cs:
* ISO9660.cs:
* AppleMFS.cs:
* AppleHFS.cs:
* AppleHFSPlus.cs: Moved datetime conversion to DateHandlers class.

* Symbian.cs: Identifies .SIS files. Yes I know it's not a filesystem
  but I needed it so.

* Main.cs: Corrected typo

* FileSystemIDandChk.csproj: Added datetime conversion handling class,
  Symbian .SIS installers, ext filesystem and ext2/3/4 filesystems.

* ext2FS.cs: Detects ext2, ext3 and ext4 filesystems up to Linux 3.1
  kernel.

* extFS.cs: Detects ext filesystems. Untested as no Linux 2.0 was
  available at time :p

* DateHandlers.cs: Moved all datetime convertions from plugins to
  central class.

git-svn-id: svn://claunia.com/FileSystemIDandChk@11 17725271-3d32-4980-a8cb-9ff532f270ba
2012-08-03 01:45:38 +00:00
8da06ed267 Added VMS ODS
git-svn-id: svn://claunia.com/FileSystemIDandChk@10 17725271-3d32-4980-a8cb-9ff532f270ba
2011-06-02 19:34:47 +00:00
eb65e38626 Added NTFS
git-svn-id: svn://claunia.com/FileSystemIDandChk@9 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-29 02:56:27 +00:00
7e74c8b4fd Added HPFS
git-svn-id: svn://claunia.com/FileSystemIDandChk@8 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-28 22:56:20 +00:00
35db2b1b36 Added Be filesystem
git-svn-id: svn://claunia.com/FileSystemIDandChk@7 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-28 13:46:30 +00:00
9883423155 Use FOBOS guids
git-svn-id: svn://claunia.com/FileSystemIDandChk@6 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-28 11:15:54 +00:00
b2997532f8 Added NeXT disklabels and unidentify MBR with 0 entries
git-svn-id: svn://claunia.com/FileSystemIDandChk@5 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-25 20:45:28 +00:00
aef06addfb ISO9660 should always check from offset 0, needs to be sure it runs only once
git-svn-id: svn://claunia.com/FileSystemIDandChk@4 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-25 10:41:55 +00:00
cd18cac688 Added MBR partition scheme.
git-svn-id: svn://claunia.com/FileSystemIDandChk@3 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-25 10:39:11 +00:00