diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2011-03-21 21:33:57 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2011-03-21 21:33:57 -0400 |
commit | 699941e25a1fcf0beec124203747c8ed20842989 (patch) | |
tree | eb2629231de8c6a973e3ef449fab80082b87a9ae /mbr.cc | |
parent | 815fb65195106b8afe1b8dfec5dae605dbd7ccbe (diff) | |
download | sgdisk-699941e25a1fcf0beec124203747c8ed20842989.tar.gz |
0.7.1 release version
Diffstat (limited to 'mbr.cc')
-rw-r--r-- | mbr.cc | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -66,16 +66,6 @@ void MBRData::MakeProtectiveMBR(int clearBoot) { } // if/else partitions[0].SetInclusion(PRIMARY); - // Write CHS data. This maxes out the use of the disk, as much as - // possible -- even to the point of exceeding the capacity of sub-8GB - // disks. The EFI spec says to use 0xffffff as the ending value, - // although normal MBR disks max out at 0xfeffff. FWIW, both GNU Parted - // and Apple's Disk Utility use 0xfeffff, and the latter puts that - // value in for the FIRST sector, too! -/* LBAtoCHS(1, partitions[0].firstSector); - if (LBAtoCHS(partitions[0].lengthLBA, partitions[0].lastSector) == 0) - partitions[0].lastSector[0] = 0xFF; */ - state = gpt; } // MBRData::MakeProtectiveMBR() |