Commit Graph

19 Commits

Author SHA1 Message Date
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
4f089c1539 Added skeleton for BSD FFS.
Added HFS+.
If HFS detects it has wrapped a HFS+ volume, inform that it's not its filesystem.
Added a workaround in calculation with UInt32 and ulong that made HFS and MFS show a bad date.


git-svn-id: svn://claunia.com/FileSystemIDandChk@2 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-06 00:25:11 +00:00
beec65407a First commit to SVN
git-svn-id: svn://claunia.com/FileSystemIDandChk@1 17725271-3d32-4980-a8cb-9ff532f270ba
2011-03-03 18:34:33 +00:00