Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/errornointernet/mkfs.ext2
A mkfs.ext2 implementation in Go
https://github.com/errornointernet/mkfs.ext2
ext2 golang mkfs
Last synced: 5 days ago
JSON representation
A mkfs.ext2 implementation in Go
- Host: GitHub
- URL: https://github.com/errornointernet/mkfs.ext2
- Owner: ErrorNoInternet
- License: lgpl-3.0
- Created: 2022-08-13T13:52:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T07:09:00.000Z (about 1 year ago)
- Last Synced: 2023-11-29T10:42:47.097Z (about 1 year ago)
- Topics: ext2, golang, mkfs
- Language: Go
- Homepage:
- Size: 60.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mkfs.ext2
A mkfs.ext2 implementation in Go## Usage
```sh
# 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
- [x] Superblock
- [x] Device
- [x] Bgdt
- [x] BgdtEntry
- [x] Inode (partial, only used to create root inode)
- [x] Filesystem