OC-Tsuki/ksrc/fs/foxfs/superblock.lua

13 lines
261 B
Lua
Raw Permalink Normal View History

2020-06-02 16:23:58 +10:00
local superblock = struct {
endian = "<",
{sig="H"},
{ver_maj="H"},
{ver_min="H"},
{state="H"},
{total_inodes="I4"},
{total_blocks="I4"},
{reserved_blocks="I4"},
{total_unalloc_blocks="I4"},
{total_unalloc_inodes="I4"},
{total_unalloc_inodes="I4"},
}