Commit Graph

4061 Commits

Author SHA1 Message Date
4e888f175c Rename project, solution, application, namespace. 2014-06-15 23:39:34 +01:00
2e865dc8ca * Apple_Disk_Image.html: Wikipedia entry for UDIF, documents NDIF
(yes, it's incorrectly named).

* DMG.html: From http://newosxbook.com documents Apple UDIF (aka DMG)
disc image.

* FDISPEC.pdf: Documents FDI disc image.

* NRG_(file_format).html: Wikipedia entry for NRG disc image format,
documents fields.

* Virtual Hard Disk Format Spec_10_18_06.doc: Documents
VirtualPC/Hyper-V vhd and vhdx.

* Windows Imaging File Format.rtf: Documents Microsoft WIM disc image.

* qcow-image-format-version-1.html: Documents QCOW image format.

* qcow-image-format.html: Documents QCOW2 image format.

* vmdk_specs.pdf: Documents VMWare disc images.
2014-06-15 23:10:54 +01:00
d780932a0a Documents Acorn ADFS. 2014-06-08 01:31:21 +01:00
19d7d0b460 * FileSystemIDandChk/Main.cs:
partitionOffset should be the sector, not the byte

	* FileSystemIDandChk/PartPlugins/MBR.cs:
	  Corrected typos on field offsets

	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/Plugins/ISO9660.cs:
	  Corrected typo

	* FileSystemIDandChk/Plugins/ext2FS.cs:
	  Superblock block_size is shift of base block size (1024
	  bytes)
2014-06-08 00:43:49 +01:00
a2f79a3295 * Ecma-119.pdf: ECMA-119 documents ISO9660 filesystems.
* FD-Soft.html: Documents Atari FAT variations.

* File_Manager.pdf: Documents HFS and Apple Partition Map.

* hm2def.h: Documentation for ODS.

* td0notes.txt: TeleDisk format information.

* tn1150.html: Documents HFS+.

* README.md: Information about this folder.
2014-06-07 23:47:48 +01:00
e8cdd9bb5f * docs/floppies.ods:
Added table with known floppy formats and their geometries.

	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/DateHandlers.cs:
	  Prettify debug output.
2014-06-07 23:38:42 +01:00
0024671731 * FileSystemIDandChk/TODO:
* FileSystemIDandChk/Main.cs:
	* FileSystemIDandChk/README.md:
	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	* FileSystemIDandChk/ImagePlugins/ZZZRawImage.cs:
	  Adds support for RAW (sector by sector) disk images.

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Add definitions for BD-R, BD-RE XL and FDFORMAT disk types.

	* FileSystemIDandChk/ImagePlugins/TeleDisk.cs:
	  Add bounding checks on ReadSectors()
2014-06-07 23:32:59 +01:00
109ea16b7c Hardlink TODO 2014-06-07 17:42:56 +01:00
922c028b12 * FileSystemIDandChk/ImagePlugins/CDRWin.cs:
* FileSystemIDandChk/ImagePlugins/DiskCopy42.cs:
	  No need to call them "handler"s.

	* FileSystemIDandChk/Main.cs:
	  DEBUG lines should only appear while on debug mode

	* FileSystemIDandChk/PartPlugins/MBR.cs:
	  Do not check MBR presence on less than 512 bytes/sector
	  disks

	* FileSystemIDandChk/Plugins/FAT.cs:
	  Get cleaner output, add newline.

	* FileSystemIDandChk/Plugins/ODS.cs:
	  Do not check FILES-11 (ODS) presence on less than 512
	  bytes/sector disks
2014-06-07 17:32:14 +01:00
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