Update CICMMetadata version.

This commit is contained in:
2019-04-23 01:38:33 +01:00
parent 421ce1574b
commit ffd1cd6564
77 changed files with 2263 additions and 2230 deletions

View File

@@ -170,8 +170,8 @@ namespace DiscImageChef.Filesystems
{
Type = "Extent File System",
ClusterSize = 512,
Clusters = efsSb.sb_size,
FreeClusters = efsSb.sb_tfree,
Clusters = (ulong)efsSb.sb_size,
FreeClusters = (ulong)efsSb.sb_tfree,
FreeClustersSpecified = true,
Dirty = efsSb.sb_dirty > 0,
VolumeName = StringHandlers.CToString(efsSb.sb_fname, Encoding),
@@ -186,50 +186,50 @@ namespace DiscImageChef.Filesystems
struct EFS_Superblock
{
/* 0: fs size incl. bb 0 (in bb) */
public int sb_size;
public readonly int sb_size;
/* 4: first cg offset (in bb) */
public int sb_firstcg;
public readonly int sb_firstcg;
/* 8: cg size (in bb) */
public int sb_cgfsize;
public readonly int sb_cgfsize;
/* 12: inodes/cg (in bb) */
public short sb_cgisize;
public readonly short sb_cgisize;
/* 14: geom: sectors/track */
public short sb_sectors;
public readonly short sb_sectors;
/* 16: geom: heads/cylinder (unused) */
public short sb_heads;
public readonly short sb_heads;
/* 18: num of cg's in the filesystem */
public short sb_ncg;
public readonly short sb_ncg;
/* 20: non-0 indicates fsck required */
public short sb_dirty;
public readonly short sb_dirty;
/* 22: */
public short sb_pad0;
public readonly short sb_pad0;
/* 24: superblock ctime */
public int sb_time;
public readonly int sb_time;
/* 28: magic [0] */
public uint sb_magic;
public readonly uint sb_magic;
/* 32: name of filesystem */
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)]
public byte[] sb_fname;
public readonly byte[] sb_fname;
/* 38: name of filesystem pack */
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)]
public byte[] sb_fpack;
public readonly byte[] sb_fpack;
/* 44: bitmap size (in bytes) */
public int sb_bmsize;
public readonly int sb_bmsize;
/* 48: total free data blocks */
public int sb_tfree;
public readonly int sb_tfree;
/* 52: total free inodes */
public int sb_tinode;
public readonly int sb_tinode;
/* 56: bitmap offset (grown fs) */
public int sb_bmblock;
public readonly int sb_bmblock;
/* 62: repl. superblock offset */
public int sb_replsb;
public readonly int sb_replsb;
/* 64: last allocated inode */
public int sb_lastinode;
public readonly int sb_lastinode;
/* 68: unused */
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
public byte[] sb_spare;
public readonly byte[] sb_spare;
/* 88: checksum (all above) */
public uint sb_checksum;
public readonly uint sb_checksum;
}
}
}