mkfs.ext2

command module
v0.0.0-...-1921f43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: LGPL-3.0 Imports: 5 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL