summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Collapse)Author
2005-12-05Avoid an out-of-bounds array access in editor_delete() for invalid partitionMiod Vallat
name; spotted by Laurent Coustet (ed, debian-fr net) ok deraadt@ otto@
2005-11-16Fix conversion of K units to handle case where sector size > 1024. e.g.Kenneth R Westerback
Sony Hi-MD usb drive. ok millert@
2005-11-13missing fclose(); from dhill@mindcry.orgTheo de Raadt
2005-11-12use snprintf; ok cloder dhill@mindcry.orgTheo de Raadt
2005-08-30Get the start of the A6 partition from fdisk. Fixes wrong suggestion ofUwe Stuehler
offset 0 for the start of slice a. ok deraadt@
2005-04-30Better header at the top:Theo de Raadt
# Inside MBR partition 3: type A6 start 2570463 size 75569697
2005-04-01will do disklabels like hppaTheo de Raadt
2005-03-07more macro simplification;Jason McIntyre
2005-02-16Prevent gzip from storing mtime and filename in the header so weTodd C. Miller
get identical binaries.
2005-01-13be aware of zaurusTheo de Raadt
2005-01-07Print disk size and free space in requested unit. Some refactoring toOtto Moerbeek
avoid code duplication as well. ok marco@ deraadt@
2004-12-11A compare function for heapsort(3) should not just subtract twoOtto Moerbeek
offsets, it does not work if the difference is large. Problem found by Jean-Gerard Pailloncyi who had false warnings of overlapping partitions. ok millert@ tedu@
2004-11-06update -DSEEALSO for alpha and cats, remove arc and amiga. ok miod@Otto Moerbeek
2004-11-06gzip embedded man pages, and pipe through gunzip when viewing.Otto Moerbeek
ok deraadt@
2004-10-25typo, from Nathan RickerbyOtto Moerbeek
2004-10-04Allow one more char for fstype, to avoid truncation of ISO9660 fstype.Otto Moerbeek
spotted by and ok krw@
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2004-09-28Tidy disklabel output for todays big disks. Based on a diff from fOtto Moerbeek
at obiit dot org in PR 3847. ok tedu@ deraadt@ millert@
2004-09-18remove unused var, and then fix the code to watch for waitpid() errorsTheo de Raadt
ok otto millert
2004-08-08spacingTheo de Raadt
2004-08-03Handle geometry parameters as unsigned quantities, getting rid ofOtto Moerbeek
negative number of sectors on large disks and other similar problems. Also make reading of ASCII disk labels more robust by using strtonum(3) instead of atoi(3). ok millert@ deraadt@
2004-05-20Typo from Jared Yanovich phirerunner@comcast.netMarco Peereboom
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untilDale Rahn
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree.
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
handler below. millert@ ok
2004-02-25correct NOMAN= caseTheo de Raadt
2004-01-28Repair build links for pegosos, and also build for amd64Theo de Raadt
2003-12-30s/inadvertantly/inadvertently;Jason McIntyre
2003-12-29Add support for % and & units to indicate percent of total space andTodd C. Miller
percent of available space respectively. From Sebastian Horzela.
2003-12-20make disklabel docs more readable: more logical SYNOPSIS; sort options;Jason McIntyre
make internal editor help and usage() match the docs; make sure all the forms described in SYNOPSIS are explained; various other tweaks. input from millert@; ok deraadt;
2003-10-31These should build on pegasosDale Rahn
2003-09-24realloc fixes; ok hoTheo de Raadt
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-29exclude __sparc64__ since it can handle 16k blocks. from jason@Ted Unangst
2003-08-28sparcs cannot handle booting from > 8k block partitions, so set the rootTed Unangst
partition block size back down.
2003-07-29spacesTheo de Raadt
2003-07-16new default frag/block sizes.Ted Unangst
reminded by millert@
2003-07-02missing protosTheo de Raadt
2003-07-01- add info from disklabel(8) documenting default label; suggested by millert@Jason McIntyre
- .Xr disklabel 8 instead of .Em
2003-06-25remove junk protosTheo de Raadt
2003-06-21add CAVEATS: disklabel only supports 15 partitions, excluding `c';Jason McIntyre
from a thread on misc@; wording, help, and ok nick@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-11ansificationTheo de Raadt
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-06string handling; ok millertTheo de Raadt
2003-04-05o replace a strncpy + manual NUL terminate w/ strlcpyTodd C. Miller
o remove NUL termination of d_packname since it is not needed. krw@ OK
2003-03-12more .LiTheo de Raadt
2003-02-13add support for printing disklabels in units other than sectors fromTed Unangst
the cmdline based on a patch by mho at mho.nu ok and input by millert@
2003-02-05WORKAROUND: use a volatile to get around a compiler or fp emulation bugTheo de Raadt
(jason says he will look into this later)