diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-02-19 17:19:55 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-02-19 17:19:55 -0500 |
commit | 08bb0da07953af605b4918e268272de15ac151aa (patch) | |
tree | 401ff14b62ddfda4c4c64b3dfcee817ad8133971 /mbr.h | |
parent | fad064250bf6c49eb4966bf0f617591a0821808e (diff) | |
download | sgdisk-08bb0da07953af605b4918e268272de15ac151aa.tar.gz |
Version 0.6.4
Diffstat (limited to 'mbr.h')
-rw-r--r-- | mbr.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -105,9 +105,12 @@ public: // Functions to create, delete, or change partitions // Pass EmptyMBR 1 to clear the boot loader code, 0 to leave it intact void EmptyMBR(int clearBootloader = 1); + void EmptyBootloader(void); void MakeProtectiveMBR(int clearBoot = 0); void MakePart(int num, uint32_t startLBA, uint32_t lengthLBA, int type = 0x07, int bootable = 0); + int SetPartType(int num, int type); + int SetPartBootable(int num, int bootable = 1); int MakeBiggestPart(int i, int type); // Make partition filling most space void DeletePartition(int i); int DeleteByLocation(uint64_t start64, uint64_t length64); |