Categorygithub.com/ErrorNoInternet/mkfs.ext2
modulepackage
0.0.0-20231129070831-1921f43ee116
Repository: https://github.com/errornointernet/mkfs.ext2.git
Documentation: pkg.go.dev

# README

mkfs.ext2

A mkfs.ext2 implementation in Go

Usage

# Print all flags
mkfs.ext2 -help

# Create a file with a filesystem
# (automatically determines blocks, if file.ext2 doesn't exist then it's 1 GiB)
mkfs.ext2 -device file.ext2

# Create a filesystem on a real device (automatically determines blocks)
mkfs.ext2 -device /dev/sdX

Objects

  • Superblock
  • Device
  • Bgdt
    • BgdtEntry
  • Inode (partial, only used to create root inode)
  • Filesystem

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author