rsdisk
Imagine fdisk but it's a Rust library (and also a cli but that's not so important)
WARNING: This is NOT ready for normal use! API is unstable, that's why it's version 0.0.z. Do NOT use it unless you know what you are doing.
WARNING 2: rsdisk-bin for now contains barely any code. It's not meant for use AT ALL, it's just debug code I left there for now, it will be useable in the future (I hope), but for now DON'T download if you just want to check out the CLI app, it's not here (yet).
Current features
- Recognizing GPT or MBR partition table on drive
- Basic MBR parition table support (currently only limited to reading 4 partition entries)
- Utility functions that can read drive size in sectors, read drive logical sector size and refresh partition table of given drive.
- Ok-ayish error handling
- Basic partition table trait (will def be changed in the future)
- Ability to extend library to new partitions
Planned features (non-exhaustive, semi-random order)
- Making library more stable, aka making it useable
- Documentation
- More higher-level functions
- GPT partition table support
- CLI/TUI fdisk-like program
- Support for non-unix operating systems
- Better testing