mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Solved false positives of UNIX 7th Edition filesystem.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2015-12-06 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* SysV.cs:
|
||||||
|
Solved false positives of UNIX 7th Edition filesystem.
|
||||||
|
|
||||||
2015-12-06 Natalia Portillo <claunia@claunia.com>
|
2015-12-06 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* ODS.cs:
|
* ODS.cs:
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ namespace DiscImageChef.Plugins
|
|||||||
{
|
{
|
||||||
if (s_fsize < V7_MAXSIZE && s_nfree < V7_NICFREE && s_ninode < V7_NICINOD)
|
if (s_fsize < V7_MAXSIZE && s_nfree < V7_NICFREE && s_ninode < V7_NICINOD)
|
||||||
{
|
{
|
||||||
if ((s_fsize * 1024) <= (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()) || (s_fsize * 512) <= (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
if ((s_fsize * 1024) == (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()) || (s_fsize * 512) == (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -249,7 +249,7 @@ namespace DiscImageChef.Plugins
|
|||||||
{
|
{
|
||||||
if (s_fsize < V7_MAXSIZE && s_nfree < V7_NICFREE && s_ninode < V7_NICINOD)
|
if (s_fsize < V7_MAXSIZE && s_nfree < V7_NICFREE && s_ninode < V7_NICINOD)
|
||||||
{
|
{
|
||||||
if ((s_fsize * 1024) <= (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()) || (s_fsize * 512) <= (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
if ((s_fsize * 1024) == (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()) || (s_fsize * 512) == (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
||||||
{
|
{
|
||||||
sys7th = true;
|
sys7th = true;
|
||||||
BigEndianBitConverter.IsLittleEndian = true;
|
BigEndianBitConverter.IsLittleEndian = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user