Kilobyte22 / libpart

Library For Partitions Management
2 stars 2 forks source link

Create MBR partitions #3

Open bestouff opened 6 years ago

bestouff commented 6 years ago

There's a way to write an MBR, but no way to add some partitions in it.

Kilobyte22 commented 6 years ago

This is closely related to #1 and will be fixed with it. If i can find time this week, this might even happen before weekend. Don't count on it though

r-darwish commented 6 years ago

Shouldn't exposing MBR::partitions as & mut be sufficient? The user will modify MBR::partitions and then call MBR::write_mbr