mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Reports correct filesystem version on Statfs();
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2016-07-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* Super.cs: Reports correct filesystem version on Statfs();
|
||||||
|
|
||||||
2016-07-31 Natalia Portillo <claunia@claunia.com>
|
2016-07-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* File.cs: Code cleanup
|
* File.cs: Code cleanup
|
||||||
|
|||||||
@@ -368,7 +368,18 @@ namespace DiscImageChef.Filesystems.LisaFS
|
|||||||
stat.Id.Serial64 = mddf.volid;
|
stat.Id.Serial64 = mddf.volid;
|
||||||
stat.Id.IsLong = true;
|
stat.Id.IsLong = true;
|
||||||
stat.PluginId = PluginUUID;
|
stat.PluginId = PluginUUID;
|
||||||
stat.Type = "LisaFS v3";
|
switch(mddf.fsversion)
|
||||||
|
{
|
||||||
|
case LisaFSv1:
|
||||||
|
stat.Type = "LisaFS v1";
|
||||||
|
break;
|
||||||
|
case LisaFSv2:
|
||||||
|
stat.Type = "LisaFS v2";
|
||||||
|
break;
|
||||||
|
case LisaFSv3:
|
||||||
|
stat.Type = "LisaFS v3";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
return Errno.NoError;
|
return Errno.NoError;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user