Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-02-16 | Part 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-24 | Fix `necesary' typos; Alexander Yurchenko | Todd C. Miller | |
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-) | |||
2001-07-07 | major -Wall cleanup, almost complete | Theo de Raadt | |
2001-05-19 | When zeroing out the parition table, make 'c' the entire disk, not just | Todd C. Miller | |
the OpenBSD portion of the disk. This is conistent with the idea of 'c' throughout the program. | |||
2001-03-12 | correct warning; maurice@maurice.wan.nl | Theo de Raadt | |
2000-10-22 | Use 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-13 | Get rid of fflush(stdout); rewind(stdin); pairs since we should not | Todd 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-04 | Don't exit just because we couldn't get the default label... | Todd C. Miller | |
2000-06-04 | Add 'D' and 'z' commands to editor to use the default partition and | Todd C. Miller | |
to zero out the partition table respectively. | |||
2000-05-05 | Reserve the first cylinder for bootblock if NUMBOOT=1. Basically treat | Todd 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-04 | Add "expert mode" and don't prompt for fsize/bsize/cpg unless an expert | Todd 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-23 | Don't use the BIOS geometry by default, it causes too many problems. | Todd C. Miller | |
2000-02-21 | missing newline | Theo de Raadt | |
1999-07-14 | put in a check for architectures that demand that partition A start at sector 0 | Theo de Raadt | |
1999-06-10 | Handle PAGER in a manner consistent with the Single Unix Specification: | Paul Janzen | |
that is, use PAGER rather than "more" if it is defined and non-null, not just if it is defined. | |||
1999-06-06 | typo; mcsmart@engin.umich.edu | Aaron Campbell | |
1999-04-07 | Kill -F option, it is not needed and just plain wrong anyway | Todd C. Miller | |
1999-04-07 | XXX temp fix for whole_mode; todd will fix better in tomorrow | Theo de Raadt | |
1999-04-07 | o Be silent on fstab writing | Todd C. Miller | |
o Change "Save changes" prompt to "Write new label" o call writelabel() with &label and then update *lp instead of updating *lp and then calling writelabel() with lp. | |||
1999-04-01 | get mountpoint before fsize/bsize/cpg and crunch things a bit | Todd C. Miller | |
1999-04-01 | Fix filesystem type when writing fstab in -f mode | Todd C. Miller | |
1999-04-01 | Use fstypenames, not fstypesnames since fstypesnames does not list strings ↵ | Todd C. Miller | |
for all types | |||
1999-03-23 | Rename -F option to -f and add a new -F (full disk) option to use in -E mode. | Todd C. Miller | |
When checking for an MBR, only say we have an mbr if there is a signature *or* there is an fdisk partition with an {Open,Free,Net}BSD ID. When setting the bounds in -E mode add hueristics to deal with disks bigger than the BIOS geometry would indicate. | |||
1999-03-21 | dosdp should be extern | Todd C. Miller | |
1999-03-21 | Add support for switching disk geometry between disk, bios, and user | Todd C. Miller | |
1999-03-21 | If there are any BSD or SWAP partitions beyond ending_sector we extend | Todd C. Miller | |
ending_sector to include them. This is done because the BIOS geometry is generally different from the disk geometry. | |||
1999-03-18 | make sure mountpoint starts with '/' and call get_mp() from editor_name() ↵ | Todd C. Miller | |
instead of rolling our own | |||
1999-03-18 | Sort entries by mountpoint, not partition number when writing fstab via | Todd C. Miller | |
the -F option. We do this to make sure /var occurs before /var/mail, /usr before /usr/local, etc... | |||
1999-03-16 | put duplicate code into its own functions and fix some minor problems this ↵ | Todd C. Miller | |
brought to light | |||
1999-03-16 | Add -F flag to cause editor to prompt for mount points and save the ↵ | Todd C. Miller | |
resulting info in fstab format. To be used by the install script. | |||
1999-03-16 | Fix longstanding problem when rounding values to neared cylinder. | Todd C. Miller | |
We used to just round the size to make size % secpercyl == 0. Now it makes (size + offset) % secpercyl == 0 so partitions end on a cylinder bondary (which was the original intent). The problem with the old method is that if you have an fdisk table on the disk, 'a' will start somewhere between 32 and 63, throwing off the calculations. | |||
1999-03-13 | Allow user to delete partitions outside the openbsd part of the disk | Todd C. Miller | |
1999-03-13 | Add support for delete "*" | Todd C. Miller | |
1999-03-01 | Change undocumented '-p' flag to '-d' and document. Also document '-v'. | Todd C. Miller | |
Make 'disklabel -ed' not overwrite your label if you make no changes in the editor (added a cmplabel function to compare two labels). | |||
1998-10-11 | When rounding to cylinder boundaries check to make sure we don't round up ↵ | Todd C. Miller | |
past the end of the disk. Noticed by fries@ | |||
1998-08-07 | Support PAGER environment vairable in conjuction with the 'M' command. | Todd C. Miller | |
Ignore SIGPIPE when spawing the pager since disklabel could get killed. Add smarts in disk type guesser to know that rz is SCSI. Kill annoying extra blank line. | |||
1998-08-06 | add more detailed help accessible via '? [abcdmpMqrsuwxe]' | Todd C. Miller | |
1998-07-29 | when changing a partition from unknown to 4.2BSD, provide sane defaults for ↵ | Todd C. Miller | |
fsize, bsize, cpg | |||
1998-07-26 | Don't skip 'b' when suggesting the next partition to add. I thought it ↵ | Todd C. Miller | |
would be confusing to suggest 'b' but what happens is that people build a disk without swap. | |||
1998-07-26 | When asking the user for the disk type, base the default on the device name. ↵ | Todd C. Miller | |
Ie: wd -> IDE, sd -> SCSI, hd -> HP-IB, etc. Should help eliminate some confusion. | |||
1998-07-26 | Don't allow user to do 'a c' since c always exists. They can still do 'c ↵ | Todd C. Miller | |
c'. Noted by fries@ | |||
1998-07-23 | Fix annoying bug where disklabel would give you wrong default size for last | Constantine Sapuntzakis | |
partition on disk and then complain when you chose it. The fix makes sure you get the "correct size". | |||
1998-06-21 | Remove the advertising clause in my old license, it impedes free use | Todd C. Miller | |
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code... | |||
1998-05-07 | get rid of #ifdef OLD_SCSI stuff. It is not useful | Todd C. Miller | |
1998-05-07 | let user set d_interleave, and force it to be >= 1 | Todd C. Miller | |
1998-04-14 | Set label.d_bbsize and label.d_sbsize if we have a fictious label | Todd C. Miller | |
and they are zero. Fixes "disklabel -B" on hp300 and the warning about zero size bootblock and superblock fields on all ports. | |||
1998-04-11 | mention IDE, or people will get all confused | Theo de Raadt | |
1998-04-08 | Make undo recalculate free space. Also adds 'r' command to recalculate | Todd C. Miller | |
free space manually. From Magnus Holmberg <mho@stacken.kth.se> | |||
1998-02-28 | Be consistent wrt suggesting ESDI for IDE and using ESDI even if | Todd C. Miller | |
they enter IDE. | |||
1998-02-19 | deal with partition type renamed | Theo de Raadt | |