Documentation ¶
Index ¶
Constants ¶
View Source
const FSTypeEXT4 = "ext4"
Variables ¶
View Source
var EXT4MagicNum = uint16(0xef53)
View Source
var ErrNotEXT4 = errors.New("Not a ext4 partition")
Functions ¶
This section is empty.
Types ¶
type EXT4SuperBlock ¶
type EXT4SuperBlock struct { NumInodes uint32 NumBlocks uint32 ReservedBlocks uint32 FreeBlocks uint32 FreeInodes uint32 FirstDataBlock uint32 LogBlockSize uint32 LogClusterSize uint32 BlocksPerGroup uint32 ObsoleteFragmentsPerGroup uint32 InodesPerGroup uint32 MountTime uint32 WriteTime uint32 MountCount uint16 MaxMountCount uint16 MagicNum uint16 FilesystemState uint16 Errors uint16 MinorRevLevel uint16 LastCheckTime uint32 CheckInterval uint32 CreatorOS uint32 RevLevel uint32 DefaultReserveUID uint16 DefaultReserveGID uint16 // contains filtered or unexported fields }
func (EXT4SuperBlock) Is ¶
func (e EXT4SuperBlock) Is() bool
Click to show internal directories.
Click to hide internal directories.