summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2016-02-01Use printf("%s",prompt) rather than printf(prompt) just for paranoia'sKenneth R Westerback
2016-02-01Un-shorten some lines that don't need breaking anymore. Remove a couple ofKenneth R Westerback
2016-01-31Nuke pointless map field 'physical_block' and just use 'sbBlkSize' which isKenneth R Westerback
2016-01-31Nuke djust_value_and_compute_prefix() and use fmt_scaled() to displayKenneth R Westerback
2016-01-31Use delete_entry()/create_entry() in delete_partition_from_map() instead ofKenneth R Westerback
2016-01-31Fold add_data_to_map() into create_entry() as the former is always calledKenneth R Westerback
2016-01-31Don't use add_data_to_map() when reading from disk, since it resets someKenneth R Westerback
2016-01-31Just call contains_driver() when you need to know rather than carrying aKenneth R Westerback
2016-01-31Move dump_block() declaration from io.h to io.c since it is notKenneth R Westerback
2016-01-31Apple sets lblock_start and lblocks to 0 in free space entries. DoKenneth R Westerback
2016-01-30Zap a couple of declarations for non-existant variable and function.Kenneth R Westerback
2016-01-30Another to the attic.Kenneth R Westerback
2016-01-30Move last three lines (#define's) from dpme.h to partition_map.h andKenneth R Westerback
2016-01-30Fold struct dpme into struct entry. Same reasons as for foldingKenneth R Westerback
2016-01-30Refactor add_partition_to_map() to be simpler if perhaps lessKenneth R Westerback
2016-01-30There is not much to do if we run out of memory, so simply exit ifKenneth R Westerback
2016-01-30ping, ping6: corrects -E (audible beep when no packet is received before theSebastien Marie
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