summaryrefslogtreecommitdiff
path: root/sbin/pdisk
AgeCommit message (Expand)Author
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
2016-01-15Replace bitfield_get() and bitfield_set() abstraction with simple maskingKenneth R Westerback
2016-01-14Kill unused variable 'lfile'.Kenneth R Westerback
2016-01-14Move more unused files to attic.Kenneth R Westerback
2016-01-14Don't include hfs_misc.h, which no longer contains anything of use.Kenneth R Westerback
2016-01-14Nuke 'HFS_name' field which was not referenced now other than settingKenneth R Westerback
2016-01-14Remove code supporting undocumented and inaccessible flags 'a'Kenneth R Westerback
2016-01-13Remove obsolete flags (h, v, i, c) from getopt() call.Kenneth R Westerback
2016-01-13Nuke unused enum.Kenneth R Westerback
2016-01-12#define LOFF_T off_tKenneth R Westerback
2016-01-12Another unused file for the attic.Kenneth R Westerback
2016-01-12The only thing in pdisk.h is an unused #define. So don't include it.Kenneth R Westerback
2016-01-12Move unused files to attic.Kenneth R Westerback
2016-01-12Use normal err/errx/warn/warnx rather than handrolling new ones. MoveKenneth R Westerback
2016-01-12Remove media interation types, structures and functions. They are not usedKenneth R Westerback
2016-01-12Retire '-i', a poorly documented interactive mode that tries toKenneth R Westerback
2016-01-12Since we use the disklabel size info we are always in 'device sizeKenneth R Westerback
2016-01-11More '-v' leftovers (usage).Kenneth R Westerback
2016-01-11Remove some '-v' leftovers. Pointed out by jasper@.Kenneth R Westerback
2016-01-11Nuke now unused files.Kenneth R Westerback
2016-01-11open_pathname_as_media() simply called open_file_as_media() whichKenneth R Westerback
2016-01-11Nuke now unused files.Kenneth R Westerback
2016-01-11Remove '-v' and related version handling. Use strncasecmp() insteadKenneth R Westerback
2016-01-11- remove some unused data structures/fieldsJasper Lievisse Adriaanse
2016-01-11plug a mem leakJasper Lievisse Adriaanse
2016-01-11more whitespace was lurkingJasper Lievisse Adriaanse
2016-01-11trailing whitespaceJasper Lievisse Adriaanse
2016-01-11add rcs idsJasper Lievisse Adriaanse
2016-01-10Use the normal method for determining a disk size. i.e. use theKenneth R Westerback
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
2015-08-20Two reallocarray() conversions that were missed earlier.Todd C. Miller