mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 18:16:24 +00:00
Fix use of wrong xattr names for analyze command.
This commit is contained in:
@@ -147,7 +147,7 @@ public sealed partial class AppleHFS
|
||||
if(fileEntry.ResourceForkLogicalSize == 0) return ErrorNumber.NoError;
|
||||
|
||||
return AddForkOverlaps(path,
|
||||
"resource-fork",
|
||||
Xattrs.XATTR_APPLE_RESOURCE_FORK,
|
||||
fileEntry.CNID,
|
||||
ForkType.Resource,
|
||||
fileEntry.ResourceForkLogicalSize,
|
||||
|
||||
@@ -167,7 +167,7 @@ public sealed partial class AppleHFSPlus
|
||||
if(resourceErr != ErrorNumber.NoError) return resourceErr;
|
||||
|
||||
return AddForkOverlaps(path,
|
||||
"resource-fork",
|
||||
Xattrs.XATTR_APPLE_RESOURCE_FORK,
|
||||
fileEntry.CNID,
|
||||
fileEntry.ResourceForkLogicalSize,
|
||||
resourceExtents,
|
||||
|
||||
@@ -93,8 +93,15 @@ public sealed partial class AppleMFS
|
||||
void AddOverlappingFile(string path, FileEntry entry, IReadOnlyList<(ulong Start, ulong End)> sectorExtents,
|
||||
List<FileSectorInfo> files)
|
||||
{
|
||||
AddOverlappingFork(path, null, entry.flFlNum, entry.flStBlk, entry.flLgLen, sectorExtents, files);
|
||||
AddOverlappingFork(path, "resource-fork", entry.flFlNum, entry.flRStBlk, entry.flRLgLen, sectorExtents, files);
|
||||
AddOverlappingFork(path, null, entry.flFlNum, entry.flStBlk, entry.flLgLen, sectorExtents, files);
|
||||
|
||||
AddOverlappingFork(path,
|
||||
Xattrs.XATTR_APPLE_RESOURCE_FORK,
|
||||
entry.flFlNum,
|
||||
entry.flRStBlk,
|
||||
entry.flRLgLen,
|
||||
sectorExtents,
|
||||
files);
|
||||
}
|
||||
|
||||
void AddOverlappingFork(string path, string stream, uint fileId, ushort startBlock, uint logicalLength,
|
||||
|
||||
@@ -121,9 +121,14 @@ public sealed partial class ISO9660
|
||||
continue;
|
||||
}
|
||||
|
||||
AddOverlappingFile(entryPath, null, entry, sectorExtents, files);
|
||||
AddOverlappingFile(entryPath, "resource-fork", entry.ResourceFork, sectorExtents, files);
|
||||
AddOverlappingFile(entryPath, "associated-file", entry.AssociatedFile, sectorExtents, files);
|
||||
AddOverlappingFile(entryPath, null, entry, sectorExtents, files);
|
||||
AddOverlappingFile(entryPath, Xattrs.XATTR_APPLE_RESOURCE_FORK, entry.ResourceFork, sectorExtents, files);
|
||||
|
||||
AddOverlappingFile(entryPath,
|
||||
Xattrs.XATTR_ISO9660_ASSOCIATED_FILE,
|
||||
entry.AssociatedFile,
|
||||
sectorExtents,
|
||||
files);
|
||||
}
|
||||
|
||||
return ErrorNumber.NoError;
|
||||
|
||||
@@ -179,7 +179,7 @@ public sealed partial class ProDOSPlugin
|
||||
extKeyBlock.resource_fork.eof[2] << 16);
|
||||
|
||||
return AddForkOverlaps(path,
|
||||
"resource-fork",
|
||||
Xattrs.XATTR_APPLE_RESOURCE_FORK,
|
||||
entry.KeyBlock,
|
||||
resourceStorageType,
|
||||
extKeyBlock.resource_fork.key_block,
|
||||
|
||||
Reference in New Issue
Block a user