diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-01-03 20:57:08 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-01-03 20:57:08 -0500 |
commit | 5d58fe0ea12c9c727c8a970c8e1ac08ea7fbe05f (patch) | |
tree | 56f8e7514b233fa9b7d0cba24115ffc616e81d66 /gpt.h | |
parent | 1d1448a82d62ad32a8d597ed9ade46b4f37d8eb5 (diff) | |
download | sgdisk-5d58fe0ea12c9c727c8a970c8e1ac08ea7fbe05f.tar.gz |
Version 0.5.3 changes. Minor bug fixes & detection of the number of
logical sectors per physical sector on Linux 2.6.32 and above.
Diffstat (limited to 'gpt.h')
-rw-r--r-- | gpt.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ protected: uint32_t blockSize; // device block size uint64_t diskSize; // size of device, in blocks GPTValidity state; // is GPT valid? + int justLooking; // Set to 1 if program launched with "-l" or if read-only int mainCrcOk; int secondCrcOk; int mainPartsCrcOk; @@ -135,6 +136,7 @@ public: void MakeProtectiveMBR(void) {protectiveMBR.MakeProtectiveMBR();} int Align(uint64_t* sector); void SetAlignment(int n) {sectorAlignment = n;} + void JustLooking(int i = 1) {justLooking = i;} // Return data about the GPT structures.... int GetPartRange(uint32_t* low, uint32_t* high); |