Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joelnb/initrd_tools
Simple golang tools for working with initrd files
https://github.com/joelnb/initrd_tools
golang initramfs
Last synced: 30 days ago
JSON representation
Simple golang tools for working with initrd files
- Host: GitHub
- URL: https://github.com/joelnb/initrd_tools
- Owner: joelnb
- Created: 2018-12-17T23:26:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T19:04:54.000Z (about 4 years ago)
- Last Synced: 2024-11-04T16:49:59.301Z (3 months ago)
- Topics: golang, initramfs
- Language: Shell
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# initrd tools
Some golang tools for working with initrd files. An example script using the available tools is provided which should be capable of extracting any (gzipped) initrd and reconstructing it (most likely with some changes).
## Building
A Makefile is provided for easier building - simply type `make` to build both binaries.
## gunzip-trailer
Extract a gzipped data file (`GZIP_FILE`) to `OUTFILE` and put and trailing data in `TRAILER` for further processing.
```
Usage: gunzip-trailer GZIP_FILE OUTFILE TRAILER
```## gzip-length
Get the length of gzip data before any trailing data in `FILENAME`.
```
Usage: gzip-length FILENAME
```