summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2008-01-12Check for expert mode/FFS inside get_fsize() and get_bsize() andKenneth R Westerback
2008-01-12has_overlap() now always tries to resolve overlaps because it is onlyKenneth R Westerback
2008-01-12Tweak get_offset() so it does it's own free chunks to check theKenneth R Westerback
2008-01-12Change editor_countfree() to return the count rather than recording itKenneth R Westerback
2008-01-12Parameter 'new' to get_size() no longer used.Kenneth R Westerback
2008-01-12Introduce the function max_partition_size() to calculate the max sizeKenneth R Westerback
2008-01-12document the max size of FFS and FFS2 file systems plus some rewording;Otto Moerbeek
2008-01-11Remove one level of epicycles by not looping in get_size() orKenneth R Westerback
2008-01-11Don't allow (a)dd or (m)odify to create 0 length partitions. Don'tKenneth R Westerback
2008-01-11compute transfer rate using 64-bit arithmetic, ok sthen@ millert@Otto Moerbeek
2008-01-10Minor aligning of code and comments between editor_add() andKenneth R Westerback
2008-01-08Beef up the (r)ecalculate command in -E mode by having it display theKenneth R Westerback
2008-01-08Ensure that the initial free space chunk can't have a length <= 0.Kenneth R Westerback
2008-01-08Do initial free space count *after* resolving overlapping partitions.Kenneth R Westerback
2008-01-07Oops. Need to ensure we zero selected partition too.Kenneth R Westerback
2008-01-07When increasing d_npartitions as a result of (a)dd'ing a partition inKenneth R Westerback
2008-01-07Shrink & simplify some more -E code. Remove some chances for userKenneth R Westerback
2008-01-06Kill some now-dead code/variables.Kenneth R Westerback
2008-01-06Move check for overlap inside get_size() as it was always called afterKenneth R Westerback
2008-01-06Calculate amount of free space by adding up space in free chunks, ratherKenneth R Westerback
2008-01-06There is no point in having cpg manipulated in -E. newfs does all theKenneth R Westerback
2008-01-05handle 64-bit blkno's in format stringOtto Moerbeek
2008-01-05Add support for the Meinberg Standard Time String format that all MeinbergMarc Balmer
2008-01-04Strip off trailing '/32' when address type is IPV4_ADDR as isakmpd doesHans-Joerg Hoexer
2008-01-03Remove text which is incorrect now that 'get bios geometry'Stuart Henderson
2008-01-02remove unused functionsCharles Longeau
2008-01-01Oops. Missed a couple of unnecessary 'DL_GETPOFFSET()+DL_GETPSIZE() >Kenneth R Westerback
2008-01-01Fix display of overlapping partitions to account for larger size and offsetKenneth R Westerback
2008-01-01get_size() no longer allows DL_GETPSIZE()+DL_GETPOFFSET >Kenneth R Westerback
2008-01-01Shorten and simplify code, eliminate ability to assign arbitrary sizesKenneth R Westerback
2007-12-31Reset partition size as well as partition offset before asking forKenneth R Westerback
2007-12-30Use get_size() in editor_change() instead of hand-rolling identicalKenneth R Westerback
2007-12-30Kill some now unneeded checks for 'c' partition manipulation. ChangeKenneth R Westerback
2007-12-30Simplify code by avoiding manual manipulations of the free spaceKenneth R Westerback
2007-12-30Since 'c' now always covers the entire disk and is always FS_UNUSED,Kenneth R Westerback
2007-12-30do not repeat "usage:" twiceIgor Sobrado
2007-12-30each usage requires its own lineIgor Sobrado
2007-12-30usage messages should have the form "usage: command [arguments]"Igor Sobrado
2007-12-30use the same argument name in synopsis and usage; lowercase "usage:"Igor Sobrado
2007-12-30add missing space between argument names and ellipsisIgor Sobrado
2007-12-30sort flags in both synopsis and usage, file not commited in last diffIgor Sobrado
2007-12-30sort flags in both synopsis and usageIgor Sobrado
2007-12-30Bring editor_add() code into line with the other editor_* functions.Kenneth R Westerback
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
2007-12-25Some cosmetic code reorg to make things a bit more textuallyKenneth R Westerback
2007-12-24Use zero_partitions() to implement the '-E' command 'd *', as itKenneth R Westerback
2007-12-23Setting p_fstype to the number of free sectors can't be right. Instead, setKenneth R Westerback
2007-12-16fix ffs2 case: fs_sblockloc's unit is disk sectors, not fragments;Otto Moerbeek
2007-12-16add missing arguments to "-b" and "-s"Igor Sobrado
2007-12-14Bring in probing for protocols that was missing; ok claudio reykTheo de Raadt