summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Collapse)Author
1998-10-11When 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-10-03Add DIOCGPDINFO ioctl and use it in disklabel's new -p modeTodd C. Miller
1998-09-23alphabetize SEE ALSO entries and order them numerically according to sectionAaron Campbell
1998-09-19RepairMarc Espie
1998-09-17sbin/ man page fixesAaron Campbell
1998-09-11Pass specname in to editor(), missing part of a commit a while ago.Todd C. Miller
1998-09-10pass correct args to editor()Theo de Raadt
1998-08-07Support 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-06Mention new extened help and some minor cleanupsTodd C. Miller
1998-08-06add more detailed help accessible via '? [abcdmpMqrsuwxe]'Todd C. Miller
1998-07-29when changing a partition from unknown to 4.2BSD, provide sane defaults for ↵Todd C. Miller
fsize, bsize, cpg
1998-07-26Don'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-26When 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-26Don'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-24fix typos; Aaron Campbell <aaron@ug.cs.dal.ca>Todd C. Miller
1998-07-23Fix annoying bug where disklabel would give you wrong default size for lastConstantine Sapuntzakis
partition on disk and then complain when you chose it. The fix makes sure you get the "correct size".
1998-07-14Correct MAXPARTITIONS text.Angelos D. Keromytis
1998-07-11MAXPARTITIONS are only 8 for amiga; all others have 16.Angelos D. Keromytis
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd 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-06-07off_t cleanupTheo de Raadt
1998-05-16oops; dTheo de Raadt
1998-05-07In -v mode print label offset in addition to the block number.Todd C. Miller
1998-05-07get rid of #ifdef OLD_SCSI stuff. It is not usefulTodd C. Miller
1998-05-07let user set d_interleave, and force it to be >= 1Todd C. Miller
1998-04-25DOSBBSECTOR is in sectorsTheo de Raadt
1998-04-25build if NOMAN= is globally set; problem spotted by rahndsTheo de Raadt
1998-04-14Set label.d_bbsize and label.d_sbsize if we have a fictious labelTodd 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-11mention IDE, or people will get all confusedTheo de Raadt
1998-04-08mention 'r' in -E modeTodd C. Miller
1998-04-08Make undo recalculate free space. Also adds 'r' command to recalculateTodd C. Miller
free space manually. From Magnus Holmberg <mho@stacken.kth.se>
1998-03-12Treat IDE as ESDI in -e mode just like we do in -E mode.Todd C. Miller
1998-03-01disklabel.8 man page fixes submitted by Aaron Jackson,johns
jackson@msrce.howard.edu 2 formatting changes, and 2 grammar changes.
1998-02-28Be consistent wrt suggesting ESDI for IDE and using ESDI even ifTodd C. Miller
they enter IDE.
1998-02-20' is special in column 0Theo de Raadt
1998-02-20grammarTheo de Raadt
1998-02-20oopsTheo de Raadt
1998-02-19deal with partition type renamedTheo de Raadt
1998-01-11Tell the user to enter ESDI for IDE, not ST506. Also treat IDE as ESDITodd C. Miller
if the user enters that anyway.
1998-01-05recalculate the free sectors after changing boundaries.Artur Grabowski
1998-01-05check if the partitions are below the boundaries and not only above whenArtur Grabowski
counting the free sectors.
1997-12-20Refer i386 users to installboot(8).Jim Rees
1997-11-25Add -t flag to output in disktab format. From Christos ZoulasTodd C. Miller
<christos@deshaw.com> plus correct code for outputing d_drivedata.
1997-11-05Document ^D to get out of overlap prompt and remove duplicate exit conditionTodd C. Miller
1997-11-04Deal correctly with partitions that have multiple overlaps.Todd C. Miller
1997-10-28Replace a set of "'s with `` '' so that manual.c will build.Todd C. Miller
1997-10-28Document -E bugsTodd C. Miller
1997-10-28Fix a few typos.Todd C. Miller
1997-10-28First cut at -E docs. Perhaps this should go at the end?Todd C. Miller
1997-10-24TypoTodd C. Miller
1997-10-24Warn that geom may be wrong for ports with old scsi.Todd C. Miller
For ports where boot blocks sit in the first cylinder, don't suggest an offset that would clobber them. Mention the 'b' command when the user tries to go past end of the OpenBSD part. In 'b' command, don't suggest size that extends beyond the disk.