summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
AgeCommit message (Collapse)Author
1997-10-02Deal with ^D sanely and kill unused get_yn().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-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-26Some -Wall. Add display_partition() for use with upcoming editor mode.Todd C. Miller
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-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
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.
1996-12-07correct a sigsegv during parsing of garbled input; netbsd pr#2659, ↵Theo de Raadt
dgilbert@jaywon.pci.on.ca
1996-11-12Match fs type case-insensetively.Jason Downs
1996-10-04-n fix, one more DOSPTYP_OPENBSD changeTheo de Raadt
1996-10-01Make it compilable even if NUMBOOT=1 (vax). -mojMats O Jansson
1996-09-30# using message; more donothing stuffTheo de Raadt
1996-09-24use DOSPTYP_386BSD only if no DOSPTYP_OPENBSD part on diskTheo de Raadt
1996-09-24flags: add -n: do nothing, -v: verbose; delete -d flag. on DOSLABEL systems,Theo de Raadt
ensure the OpenBSD disklabel/bootblocks are written inside 165 partition (RAW_PART must start at block 0 of unit) -- this makes the kernel algorithm and userland algorithms the same. unify & pretty the usage message
1996-09-22warnx does not take a \\nTheo de Raadt
1996-09-21When reading label -r first try the correct label location.Per Fogelstrom
Don't allow updates when original disklabel is found by scanning. NetBSD -> OpenBSD in printouts.
1996-09-16_PATH_TMP -> _PATH_TMPFILETodd C. Miller
1996-08-10avoid division by zero (avoid printing the incalculateable); netbsd pr#2683; ↵Theo de Raadt
nathanw@MIT.EDU
1996-06-25mkstemp & fdopen; fix FILE * leakTheo de Raadt
1996-06-19pstat == statTheo de Raadt
1996-06-19do not use system() to start $EDITOR, but fake system() ourselvesTheo de Raadt
1996-06-17opendev.h -> util.hJason Downs
1996-06-17Switch over to generic opendev(3).Jason Downs
1996-06-12kill RAWPARTITION, use RAW_PARTJason Downs
1996-06-08missing bracedm
1996-06-06system() $EDITOR safelyTheo de Raadt
1996-05-18Minor glitch when no boot is used fixed.Per Fogelstrom
1996-05-17from Hiroyuki Ito:Michael Shalayeff
there is a race condition exists when disklabel trashes boot blocks (writing label w/o -B). fix this.
1996-05-16Introduced DOSLABEL to control Dos label handling instead of associate with ↵Per Fogelstrom
i386.
1996-03-21From NetBSD: Merge of 960317Niklas Hallqvist
1995-10-27attempt to open name as given incase it is a relative pathnameTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt