https://github.com/gokrazy/mkfs
gokrazy mkfs is a program to create an ext4 file system on the gokrazy perm partition
https://github.com/gokrazy/mkfs
file-system filesystem gokrazy golang
Last synced: about 1 year ago
JSON representation
gokrazy mkfs is a program to create an ext4 file system on the gokrazy perm partition
- Host: GitHub
- URL: https://github.com/gokrazy/mkfs
- Owner: gokrazy
- License: bsd-3-clause
- Created: 2022-01-03T10:17:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-22T07:49:05.000Z (over 1 year ago)
- Last Synced: 2025-04-23T23:47:48.197Z (about 1 year ago)
- Topics: file-system, filesystem, gokrazy, golang
- Language: Go
- Homepage:
- Size: 10.7 MB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gokrazy mkfs
This program is intended to be run on gokrazy only, where it will create an ext4
file system on the perm partition and then reboot your system. If `/perm` is
already mounted, the program will exit without changing anything.
The gokrazy mkfs program includes a static build of the `mke2fs` and `e2fsck`
programs from the `e2fsprogs` package.
## Usage
You can either add this program to your gokrazy instance:
```
gok add github.com/gokrazy/mkfs
```
…or, if you want to run it only once without otherwise including it in your
installation, you can use `gok run`:
```
git clone https://github.com/gokrazy/mkfs
cd mkfs
gok -i bakery run
```