summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Collapse)Author
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.
1997-10-24%f not %lf [%f is already a double]Todd C. Miller
1997-10-24Make and use _PATH_LESS.Todd C. Miller
Use the MBR for begin/end of the OpenBSD portion of the disk. Don't suggest an offset that would cause a partition to go past the end. Remove old bounds inference code.
1997-10-20format the "print" units better, in all casesTheo de Raadt
1997-10-20Suport the idea of an OpenBSD portion of the disk.Todd C. Miller
Allow user to abort commands via ^D at a prompt. Normalize usage of sectors vs. blocks Allow real numbers when specifying in b/k/m/g Be smarter when suggesting offsets and sizes Always add a 'c' partition BUGS: not all functions make sure they are operating within the OpenBSD part
1997-10-18do not allow add of existing partitionTheo de Raadt
1997-10-17Allow user to adjust sec/cyl instead of hard coding to sec/track * tracks/cyl.Todd C. Miller
1997-10-17Fix pasto.Todd C. Miller
1997-10-17oops; spotted by millertTheo de Raadt
1997-10-17remove some blank linesTheo de Raadt
1997-10-17shrink an output lineTheo de Raadt
1997-10-16ensure man pages exist firstTheo de Raadt
1997-10-16CLEANFILES+=manual.cTheo de Raadt
1997-10-16make M more visibleTheo de Raadt
1997-10-16new command: M (shows linked-in manpage)Theo de Raadt
1997-10-16p takes a suffix, not a unitTheo de Raadt
1997-10-15Require a disk type other than "unknon", print disk type when displayingTodd C. Miller
info, and allow user to change disk type via 'e'.
1997-10-15Move sorting stuff into new function: sort_partitions()Todd C. Miller
1997-10-15provide a few hints to indicate that -r is evilTheo de Raadt
1997-10-13Well, ppc has to work....Per Fogelstrom
1997-10-07Support 'g' (gigabyte) suffix. Requested by todd@Todd C. Miller
1997-10-06Ignore 'c' when computing overlap; some ports use "unknown" instead ofTodd C. Miller
"unused" as the fstype.
1997-10-03Update the "real" copy of the label when you do a "write". Noted by Theo.Todd C. Miller
1997-10-02Treat FS_BOOT similar to FS_UNUSED.Todd C. Miller
1997-10-02 o When adding 'b' make default fstype be swap.Todd C. Miller
o Add some missing free()'s. o When computing new offset, sort the partitions by offset, don't assume that ascending partions are in real order. Noted by todd@
1997-10-02Fix a typo and treat newlines as whitespace (so args work correctly).Todd C. Miller
1997-10-02Deal with ^D sanely and kill unused get_yn().Todd C. Miller
1997-10-02Add 'w' (write label) command.Todd C. Miller
1997-10-02Kill newlabel() stuff. The kernel should never fail to write aTodd C. Miller
label just because none exists on the disk. i386 has been fixed in the respect and others may need fixing as well.
1997-10-02document disklabel -nTodd C. Miller
1997-10-02respect -nTodd C. Miller
1997-09-30Implement "disklabel -E" -- a simple interactive label editor forTodd C. Miller
installs and new labels. Documentation to follow :-) Also, give the user the option of writing the fictitious label if no on-disk label exists with the -e, -E, and -w options.
1997-09-2610 X'sTodd C. Miller
1997-09-26Some -Wall. Add display_partition() for use with upcoming editor mode.Todd C. Miller
1997-09-21$OpenBSD$Theo de Raadt
1997-09-14some -WallTheo de Raadt
1997-09-03add xr installboot for i386Michael Shalayeff
change msg to accomodate multiple man pages in SEEALSO
1997-08-29move _PATH_BOOTDIR w/ trailing slash into paths.h for other progs...Michael Shalayeff
disklabel changed to use it that way
1997-07-28boot1[] only needed if NUMBOOT > 1; frueauf@ira.uka.deTheo de Raadt
1997-07-19some KNF I had lying aroundNiklas Hallqvist
1997-06-25(foo *)0 -> NULLkstailey
1997-05-30for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \Theo de Raadt
grep '"' | cut -d':' -f1`; do sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x cat x > $i done
1997-05-21better disklabel -e messagingTheo de Raadt
1997-04-20sparc/sun3 labels want cyl-alignment; grrTheo de Raadt
1997-04-10Error if bsize < fsize. Problem noted by Dieter Dworkin MullerTodd C. Miller
<dworkin@village.org>
1997-02-17Trivial change. Restored from backupimp
1997-02-16when spawning editor child, use signal() instead of sigprocmask(SIG_BLOCK...Theo de Raadt
this appears to prevent the intermediate shell from playing with the signals such that it gets a tty signal inside an editor such as emacs. this was very annoying
1997-02-11document that -B may blow away important bits (on i386 it blows away MBR)Theo de Raadt
1996-12-13If max number of partitions in the label is < highest partition defined,Todd C. Miller
increase d_npartitions as long as we don't go above MAXPARTITIONS.