summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Collapse)Author
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)
2003-02-01typos;Jason McIntyre
chat(8): removed reference to uucico(8) ok deraadt@
2002-12-31Prepare for the removal of amiga and sun3 platforms from the tree.Miod Vallat
There has not been enough activity and interest towards these platform to keep them lying in the tree.
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-09-18fix Xr refs; frisco@blackant.netTheo de Raadt
2002-08-08add a hppa caseMichael Shalayeff
2002-07-27Typo; similates -> simulatesAaron Campbell
2002-06-26include <bsd.own.mk> before using NOMAN; ok millert@Wilbern Cobb
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-04-18There is no point in embedding an out-of-date copy of <sys/disklabel.h>,Miod Vallat
especially since this manual page refers to said file. ok deraadt@ millert@
2002-03-24Work around a compiler bug on sparc64; deraadt@ OKTodd C. Miller
2002-02-20Tweak mvme88k and sparc64 specific settings.Miod Vallat
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-12-13o) start new sentence on a new line;Mike Pechkin
o) wrap long lines; o) fix bogus .Xr usage; o) we don't like blank lines; o) always close .Bl tags; o) OpenBSD -> .Ox; o) don't like .Pp before .Ss; millert@ ok;
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-09-03Include su# in generated disktab. Because modern disks have a variableTodd C. Miller
number of sectors/track we need to specify the total number of sectors per unit explicitly. Closes PR #2042.
2001-09-01Changes to build platform specific files properly with the powerpc -> macppcDale Rahn
port rename. This adds support for some of these to mvmeppc when it becomes MACHINE_ARCH=powerpc, as MACHINE_ARCH is tested in some instances. ancontrol and wicontrol are MACHINE_ARCH changes.
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-07o Fix a typo (heko@iki.fi)Todd C. Miller
o Add text about default labels
2001-08-06Update to reality based on sys/disklabel.hTodd C. Miller
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-05-19When zeroing out the parition table, make 'c' the entire disk, not justTodd C. Miller
the OpenBSD portion of the disk. This is conistent with the idea of 'c' throughout the program.
2001-04-05permit tree build with NOMAN is setTheo de Raadt
2001-03-12correct warning; maurice@maurice.wan.nlTheo de Raadt
2001-02-05Remove the NOMAN hack. This is not the way we want to do this.Artur Grabowski
(and the original problem is gone anyway).
2001-02-04mention scan_ffs; map@infinitum.chTheo de Raadt
2001-01-24mention that sparc & amiga have weird partition tablesTheo de Raadt
2001-01-18Fix NOMAN builds.Artur Grabowski
2001-01-17don't nroff twice, and escape protect possible bad charsDavid Leonard
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-22Use clearerr(3) to clear EOF on stdin when aborting a command due to ^D.Todd C. Miller
Fixes a bug exposed by the last revision (we got away with before it due to the rewind(3) calls).
2000-08-13Get rid of fflush(stdout); rewind(stdin); pairs since we should notTodd C. Miller
have to worry about stdout == stdin (and since this is done inconsistently it is useless anyway). Pointed out by map@infinitum.ch.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-04Don't exit just because we couldn't get the default label...Todd C. Miller
2000-06-04Add 'D' and 'z' commands to editor to use the default partition andTodd C. Miller
to zero out the partition table respectively.
2000-05-05Reserve the first cylinder for bootblock if NUMBOOT=1. Basically treatTodd C. Miller
it the same as the space we reserver on i386 to avoid fdisk trouncing. The user can change this via the 'b' command and a message is printed at startup to this effect.
2000-04-04Add "expert mode" and don't prompt for fsize/bsize/cpg unless an expertTodd C. Miller
next_offset() now takes a pointer to the partition size as its second argument instead of a pointer to the partition. This allows us to get the offset earlier on and sort_partitions() will not try and include the partition we are trying to create in its list. In free_chunks() start looking for things at starting_sector, not 0, to avoid getting starting offsets that precede the start of the OpenBSD part of the disk.
2000-03-23Don't use the BIOS geometry by default, it causes too many problems.Todd C. Miller
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
2000-03-14Suffix "i.e." and "e.g." with a comma. Just another really picky man pageAaron Campbell
commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
2000-02-21missing newlineTheo de Raadt
1999-10-10Tweak.Aaron Campbell
1999-10-09Reformat. Aaron will probably change this three-times over, but it's aAngelos D. Keromytis
start.
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller