mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* commandline:
* DiscImageChef.Filesystems/FAT.cs: Correct null volume label and oem string * DiscImageChef.Filesystems/NTFS.cs: Some NTFS do not contain signature1. * DiscImageChef.Metadata/MediaType.cs: Added XML name for iomega ZIP. * DiscImageChef/Commands/Analyze.cs: * DiscImageChef/Commands/CreateSidecar.cs: Check multiple partitioning schemes. * DiscImageChef/Commands/DumpMedia.cs: Check multiple partitioning schemes. Do not add interface data to sidecar for removable devices. Add dump hardware to sidecar for remocable block devices.
This commit is contained in:
@@ -57,8 +57,8 @@ namespace DiscImageChef.Plugins
|
||||
return false;
|
||||
|
||||
byte[] eigth_bytes = new byte[8];
|
||||
byte signature1, fats_no;
|
||||
UInt16 spfat, signature2;
|
||||
byte fats_no;
|
||||
UInt16 spfat, signature;
|
||||
string oem_name;
|
||||
|
||||
byte[] ntfs_bpb = imagePlugin.ReadSector(0 + partitionStart);
|
||||
@@ -79,15 +79,9 @@ namespace DiscImageChef.Plugins
|
||||
if (spfat != 0)
|
||||
return false;
|
||||
|
||||
signature1 = ntfs_bpb[0x026];
|
||||
|
||||
if (signature1 != 0x80)
|
||||
return false;
|
||||
|
||||
signature2 = BitConverter.ToUInt16(ntfs_bpb, 0x1FE);
|
||||
|
||||
return signature2 == 0xAA55;
|
||||
signature = BitConverter.ToUInt16(ntfs_bpb, 0x1FE);
|
||||
|
||||
return signature == 0xAA55;
|
||||
}
|
||||
|
||||
public override void GetInformation(ImagePlugins.ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd, out string information)
|
||||
|
||||
Reference in New Issue
Block a user