summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2016-01-29Fold struct block0 into struct partition map. There can be only oneKenneth R Westerback
2016-01-29Add do_dump_map() to make command processing more consistent. PassKenneth R Westerback
2016-01-29Base 10 should be enough for anybody! Allowing hex and octal numberKenneth R Westerback
2016-01-29Warn of partitions extending past the end of the media.Kenneth R Westerback
2016-01-29Tweak printing of partitions. Always show the pblock info in theKenneth R Westerback
2016-01-29Shorter names means a few whitespace adjustments.Kenneth R Westerback
2016-01-29Rename struct partition_map_header to struct partition_map. No change toKenneth R Westerback
2016-01-29Rename struct partition_map to struct entry. No change to .o files.Kenneth R Westerback
2016-01-29Conform to Apple Mac OS X's behaviour of setting dpme_flags on freeKenneth R Westerback
2016-01-29Conform to Apple Mac OS X's behaviour of not giving 'Apple_Free'Kenneth R Westerback
2016-01-29Therefor -> Therefore (where appropriate)tb
2016-01-28Flip base_order to a LIST().Kenneth R Westerback
2016-01-28Delete a bunch of Morris dancing in delete_partition_from_map().Kenneth R Westerback
2016-01-28Hand rolled lists suck. First, replace disk_order with an LIST.Kenneth R Westerback
2016-01-28Oops. Deleted one too many lines. Need to advance pointer when traversingKenneth R Westerback
2016-01-28malloc(3) returns a pointer, so check against NULL, not 0. (No functional cha...Gleydson Soares
2016-01-28When adding a new partition to the map, use only existing mappedKenneth R Westerback
2016-01-28Since we don't allow maps to be created or opened with an invalidKenneth R Westerback
2016-01-28Use consistent 'return' idiom -- no parenthesis since that was the styleKenneth R Westerback
2016-01-28more tweaks; ok krwJason McIntyre
2016-01-28Tweak verbiage for 'r' (reorder) command.Kenneth R Westerback
2016-01-28Make 'r' (reorder, a.k.a. swap) command work with any two existingKenneth R Westerback
2016-01-27Traverse next_by_base when checking maps coverage, not next_on_disk!Kenneth R Westerback
2016-01-27No need to copy dmpe_name to a buffer before printing it.Kenneth R Westerback
2016-01-27Clear out some repetitive and pointless verbiage. Shuffle otherKenneth R Westerback
2016-01-27fyx typo. s,dynanic,dynamic,Gleydson Soares
2016-01-27Tweak some verbiage.Kenneth R Westerback
2016-01-27make sure to check malloc(3) return pointer against NULL.Gleydson Soares
2016-01-27tweak previous; ok krwJason McIntyre
2016-01-27On-disk partition name/types/processorid may or may not be NULKenneth R Westerback
2016-01-27Remove some lies and pointless verbiage. Tweak HISTORY.Kenneth R Westerback
2016-01-27We do not support logical_block != physical_block. Remove logical_blockKenneth R Westerback
2016-01-27Two more for the attic.Kenneth R Westerback
2016-01-27Check block 0 signature, physical block size and physical block count whenKenneth R Westerback
2016-01-27Nope. Missed a couple of '{}' that could go.Kenneth R Westerback
2016-01-27Nuke another (and I hope final) batch of superfluous '{}' around singleKenneth R Westerback
2016-01-26Rework and simplify string argument parsing. All string arguments are atKenneth R Westerback
2016-01-26dpme_name and dpme_type are NUL-terminated in Apple code, so useKenneth R Westerback
2016-01-26Remove needless zeroing. Anonymously mapped memory is always zeroed.mmcc
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
2016-01-26Whitespace, line wrapping fixes. Nuke many superfluous '{}' around singleKenneth R Westerback
2016-01-26Whitespace, line wrapping fixes.Kenneth R Westerback
2016-01-26Simplify logic of read_partition_map(), junking retries with various sizesKenneth R Westerback
2016-01-25Two more for the attic.Kenneth R Westerback
2016-01-25Use new read/write_block0 and read/write_dpme which handle anyKenneth R Westerback
2016-01-25Add read/write_block0 and read/write_dpme functions, not yet used.Kenneth R Westerback
2016-01-25Tweak fields in struct dpme to be more consistent with Apple's info.Kenneth R Westerback
2016-01-25remove some uneeded includesJonathan Gray
2016-01-24Whitespace.Kenneth R Westerback
2016-01-24Nuke get_align_long() and put_align_long() #define's. They don't doKenneth R Westerback