summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Expand)Author
2009-03-07"Numer of " -> "Number of ". Typo from r1.1.Kenneth R Westerback
2009-02-15Don't display, or save via the editor 's' command, the fsize andKenneth R Westerback
2009-01-11On *ppc disks shared with MacOS, walk the Apple partition map to find outMiod Vallat
2008-12-07clean up find_bounds(), no binary change; 'dead initialisation' llvm/clang; ...Constantine A. Murenin
2008-12-07fix an 11-year-old typo in an if statement; 'null dereference' llvm/clang; ...Constantine A. Murenin
2008-09-03Missing break in case statement.Jonathan Gray
2008-08-11fix a6 partition lookup where a static variable was incorrectly used inReyk Floeter
2008-08-10spacing; remove non-existent flag from synopsis.Igor Sobrado
2008-08-10add missing space.Igor Sobrado
2008-08-10Shorten the lines of '?' output in edit mode. A couple were tooKenneth R Westerback
2008-08-04fix extended partition support by handling chained EBRs correctlyReyk Floeter
2008-07-10Die -r, die! Eliminate stray -r in usage text. Spotted by James Hartley.Kenneth R Westerback
2008-07-09Read 'vendor' flag from ASCII disklabel since we print it. FixesKenneth R Westerback
2008-07-01Initialize variable before checking against NULL.Ray Lai
2008-06-25In interactive mode, always suggest offsets and sizes inside theOtto Moerbeek
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
2008-06-04setbootflag() must be done before checksum'ing the label. Bug introducedTheo de Raadt
2008-05-13Make socppc on par with macppc for now.Miod Vallat
2008-04-13Redo the '?' output in (E)ditor mode so it uses two columns and onceKenneth R Westerback
2008-04-07Since Alpha is NUMBOOT=0, no need for #ifdef __alpha__ code inside aKenneth R Westerback
2008-04-07Restore boot block (-B) support that was incorrectly deleted duringKenneth R Westerback
2008-04-06nwflag is never set now that '-r' is no more, so remove it and the warningKenneth R Westerback
2008-04-06Remove stray '-r' reference that survived the nuke of -r.Kenneth R Westerback
2008-04-06Fix logic botch I introduced with r1.123 which effectively disabledKenneth R Westerback
2008-03-23Nuke disklabel -r. All labels come from the kernel via ioctl.Kenneth R Westerback
2008-01-26getuint() doesn't use its partno argument. So eliminate it. NoKenneth R Westerback
2008-01-25Fix my screwup and don't return NULL from sort_paritions.Kenneth R Westerback
2008-01-25document maximum partition size; ok jmc@ krw@Otto Moerbeek
2008-01-24"read(..., ..., sizeof Y) < sizeof Y" is a dangerous idiom because itKenneth R Westerback
2008-01-22Another sneaky 32 bit variable trying to hold 64 bit values. This timeKenneth R Westerback
2008-01-22Use u_int64_t variables to hold partition offsets when calculatingKenneth R Westerback
2008-01-22Make sort_partitions() even more consistant with free_chunks() by notKenneth R Westerback
2008-01-22Kill redundant loop to find number of partitions to sort. We no longerKenneth R Westerback
2008-01-22Replace a frequent calloc/free dance for sorted partitions with aKenneth R Westerback
2008-01-21changes to disklabel's usage:Igor Sobrado
2008-01-16remove "unused variable" warningCharles Longeau
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-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-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