summaryrefslogtreecommitdiff
path: root/sbin/pdisk
AgeCommit message (Expand)Author
2016-01-19Remove unused global 'io_buffer'.Kenneth R Westerback
2016-01-19Remove forward declarations for functions that do not exist.Kenneth R Westerback
2016-01-19Bring code into line with man page and usage() by only allowing oneKenneth R Westerback
2016-01-19No need for pdisk(8) to provide a version of hexdump. RemoveKenneth R Westerback
2016-01-18The contents of the Apple_Patches partition is none of our business.Kenneth R Westerback
2016-01-18struct file_media had 1 field left. And one place where structKenneth R Westerback
2016-01-18Discard a whack of double and triple checking lseek/read/write parameters.Kenneth R Westerback
2016-01-18os_reload_file_media() doesn't do anything except tell you if you passed itKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Fold get_options() into main() and eliminate unneeded nFLAG_DEFAULTKenneth R Westerback
2016-01-18Remove a grab bag of unused #define's, fields, enum's, variables,Kenneth R Westerback
2016-01-17Change "//" comments to "/**/". Nuke really stupid ones.Kenneth R Westerback
2016-01-17Reduce namespace pollution by eliminating parameter names from forwardKenneth R Westerback
2016-01-17Kill leading, imbedded, trailing whitespace.Kenneth R Westerback
2016-01-17Remove a bunch of ridiculous and uninformative comments like "// Defines".Kenneth R Westerback
2016-01-17The great de-typedef'ification concludes with u32 -> uint32_t. And aKenneth R Westerback
2016-01-17The great de-typedef'ification continues. u16 -> uint16_t.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. u8 -> uint8_t.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. range_list -> struct range_list.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. OSType -> unsigned long.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. DDMap -> struct ddmap.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. Block0 -> struct block0.Kenneth R Westerback
2016-01-17The great de-typedef'ification continues. DPME -> struct dpme.Kenneth R Westerback
2016-01-17Let the great de-typedef'ification begin. MEDIA -> struct file_media *.Kenneth R Westerback
2016-01-17A/UX is no more, was m68k only, and we have no sentimental reasons forKenneth R Westerback
2016-01-17oopsJasper Lievisse Adriaanse
2016-01-17- tidy up a bunch of #if's for code that has been either enabled or disabled ...Jasper Lievisse Adriaanse
2016-01-16Another one to the attic.Kenneth R Westerback
2016-01-16Move last field (size_in_bytes) in struct media to struct file_mediaKenneth R Westerback
2016-01-16Oops. Missed a file.Kenneth R Westerback
2016-01-16Another to the attic.Kenneth R Westerback
2016-01-16No need to abstract malloc(), so replace new_file_media() withKenneth R Westerback
2016-01-16There can be only one. 'grain' that is. i.e. DEV_BSIZE. No need to trackKenneth R Westerback
2016-01-16There can be only one. 'kind' that is. No need to allocate or track theKenneth R Westerback
2016-01-16Remove some forward declarations missed in last commit.Kenneth R Westerback
2016-01-16Start peeling away excess layers of abstraction.Kenneth R Westerback
2016-01-16remove these files for they're no longer accurate, up to date or relevant forJasper Lievisse Adriaanse
2016-01-16Another couple for the attic.Kenneth R Westerback
2016-01-16Nuke support for 1024- and 2048-byte sector devices. Error out ifKenneth R Westerback
2016-01-15As with compute_device_size(), gut compute_block_size() and simplyKenneth R Westerback
2016-01-15We don't need yet another alias for DEV_BSIZE. Use DEV_BSIZE andKenneth R Westerback
2016-01-15Two more for the attic.Kenneth R Westerback