rsdisk 0.0.6

Imagine fdisk but it's a Rust library (and also a cli but that's not so important)
Documentation

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 is very very basic, currently mostly just uses utils functions, does not contain yet anything about partition table manipulation. To install it you have to include "build-binary" feature (cargo install rsdisk -F build-binary).

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
  • Very basic cli app

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