diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-01-28 21:10:52 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-01-28 21:10:52 -0500 |
commit | 0a6973119c9e9984ad47a6da3231e8d16f996c5c (patch) | |
tree | 456b81b56315eca6ac64688db34cbb0a25a87f41 /gdisk.cc | |
parent | 91544e13fb56ef339277a8f73f761ff004b2e74f (diff) | |
download | sgdisk-0a6973119c9e9984ad47a6da3231e8d16f996c5c.tar.gz |
Nearing 0.6.2 release; Windows version now works.
Diffstat (limited to 'gdisk.cc')
-rw-r--r-- | gdisk.cc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -34,6 +34,17 @@ int main(int argc, char* argv[]) { if (argc == 2) { // basic usage if (SizesOK()) { +#ifdef _WIN32 + cout << "\a************************************************************************\n" + << "Most versions of Windows cannot boot from a GPT disk, and most varieties\n" + << "prior to Vista cannot read GPT disks. Therefore, you should exit now\n" + << "unless you understand the implications of converting MBR to GPT, editing\n" + << "an existing GPT disk, or creating a new GPT disk layout!\n" + << "************************************************************************\n\n"; + cout << "Are you SURE you want to continue? "; + if (GetYN() != 'Y') + exit(0); +#endif doMore = theGPT.LoadPartitions(argv[1]); if (doMore) { MainMenu(argv[1], &theGPT); |