Documentation ¶
Overview ¶
Package ext4 provides functions for working with the ext filesystems.
Index ¶
Constants ¶
View Source
const (
// Magic is the ext magic signature.
Magic = 0xef53
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuperBlock ¶
type SuperBlock struct { Magic [2]uint8 Label [0x10]uint8 // contains filtered or unexported fields }
SuperBlock represents the ext filesystem super block.
See https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#The_Super_Block for the reference.
func (*SuperBlock) Encrypted ¶
func (sb *SuperBlock) Encrypted() bool
Encrypted implements the SuperBlocker interface.
func (*SuperBlock) Offset ¶
func (sb *SuperBlock) Offset() int64
Offset implements the SuperBlocker interface.
func (*SuperBlock) Type ¶
func (sb *SuperBlock) Type() string
Type implements the SuperBlocker interface.
Click to show internal directories.
Click to hide internal directories.