Commit Graph

56 Commits

Author SHA1 Message Date
thorpej
cdc9144332 Add missing '}', from David Carrel <carrel@ipsec.com>, PR #2873. 1996-10-20 21:59:36 +00:00
christos
a1ba72f394 PR/1551: clarify usage in manual page
PR/2452: add -t option to print label in disktab(5) format.
Misc cleanups...
1996-10-02 13:49:44 +00:00
explorer
a26a090a50 Fix disklabel to deal with some syntax errors a little better.
Mostly, when someone specifies a partition entry like:

  c:  1295850         0
or
  g:  1295850         0    4.2BSD

disklabel would dump core.  Now it generates a warning like it should
in the first case and complains about too few fields in the second.

Perhaps I should just default to unused in the first case, but this prevents
core dumps.  (pr bin/2659)
1996-08-10 18:54:48 +00:00
explorer
ddcb18b00b Don't display cylinder comments if the number of cylinders is zero. This
closes pr bin/2683.
1996-08-10 17:59:01 +00:00
pk
6fcba07ce4 Update. 1996-07-03 22:38:37 +00:00
pk
b449415724 On the sparc on an extra DIOCWDINFO after writing to the raw device. 1996-06-29 18:44:11 +00:00
pk
458252ce61 Allow display and editing of partition size & offset fields in
<cyl/track/sector> format. This format is always excepted on input
(`-e' and `-R'); to display it use `-C'.
1996-06-29 15:50:18 +00:00
pk
c047ffa9e6 Allow display and editing of partition size & offset fields in
<cyl/track/sector> format. This format is always accepted on input
(`-e' and `-R'); to display it use `-C'.
1996-06-29 15:50:16 +00:00
ghudson
6f4ec6284f Include the total number of sectors in the text representation of
the label; calculating based on the disk geometry is not always
accurate (notably, for SCSI disks).  Also be a bit more careful
about printing out fixed-width types.
1996-03-14 19:49:24 +00:00
hpeyerl
94caee8dd7 PR487. From John Kohl. (more examples and some corrections) 1996-01-16 06:41:20 +00:00
cgd
2bccd7cac4 don't define NUMBOOT on the alpha, any more. boot block installation
is now done by /usr/mdec/installboot.
1995-10-17 16:34:04 +00:00
jtc
45bcb4b8c3 sys/errno.h -> errno.h
sys/signal.h -> signal.h
1995-06-26 23:17:26 +00:00
mycroft
f6f6145e7f Make sure to reset signal mask on errors. 1995-04-29 22:42:07 +00:00
ragge
c39f186d60 Changed to use only one bootblock file on VAX. 1995-04-23 19:27:59 +00:00
ragge
f66d5868d5 Added vax for 2-file boot blocks. 1995-04-18 22:37:46 +00:00
cgd
b1c02cd571 make sure that the alpha boot block is checksummed in a way more
acceptable to charles; #ifdef it, and do it explicitly here, rather
than doing a WDINFO ioctl for the -r case.
1995-03-22 23:48:49 +00:00
mycroft
cdc420327d Don't do a DIOCWDINFO after already writing the label. 1995-03-22 09:14:34 +00:00
mycroft
be82a25869 Use POSIX signals. 1995-03-21 18:48:41 +00:00
cgd
10df2990d8 re-order the DIOCWLABEL in the rflag case, so it actually works right. 1995-03-19 23:37:56 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
532a938c1d NUMBOOT == 2 on the alpha, too. 1995-02-11 02:42:21 +00:00
cgd
cbdbe9a97a do the DIOCWDINFO in writelabel() even if -r is specified.
On most machines it's redundant, but it gives others the chance to
take special actions, e.g. updating a checksum.
1995-02-10 23:24:19 +00:00
cgd
d2682eafca docs follow code. 1995-02-05 14:11:53 +00:00
mycroft
bebd64c62c Fix typos, and minor cosmetic changes. 1995-01-30 20:14:10 +00:00
mycroft
27761b7c7f Change the magic question to an absolute, flat lie that should hopefully make
people think twice before toying with it.  B-P
1995-01-12 12:23:19 +00:00
cgd
1e71c95ea1 kill unnecessary .include. 1994-12-22 11:14:51 +00:00
mycroft
26d9497d49 Clean up deleted files. 1994-12-22 10:44:01 +00:00
cgd
ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd
8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
cgd
5eeab43e28 more cleanups from Jim Jegers, passed over by me. 1994-12-05 20:15:31 +00:00
mycroft
2968cf25a4 Clean up this festering pile of rotten code a bit. To wit:
* Add prototypes.
* Remove a strange and apparently pointless bit of code propagated
from 386BSD.
* Collapse NOWRITE and WRITEABLE into one.
* Use the same algorithm as the kernel for finding the label.
* Redo some of the parsing more sanely.
1994-09-30 02:33:15 +00:00
mycroft
ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft
7322d6fb41 Finish 4.4-Lite merge, and convert to use err(3)/warn(3) functions. 1994-09-22 22:03:52 +00:00
brezak
65e8c80074 Fix i386 disklabel bug 1994-07-20 21:22:03 +00:00
deraadt
7217cac69e usage message with less surprise 1994-07-05 03:09:21 +00:00
hpeyerl
965c81a824 disklabel(8) from 4.4 merged with our old disklabel(8) by John Brezak
(brezak@apollo.hp.com).  hp300's can now disklabel by themselves.
1994-06-24 13:48:17 +00:00
cgd
3cd4ed5cd4 fix include file 1994-06-13 14:29:08 +00:00
cgd
15c9d83826 don't core so easily 1994-03-21 00:56:58 +00:00
chopps
c46eb1bc76 added -D${MACHINE} for amiga's becuase of differing sizeof (struct disklabel) 1994-02-12 17:49:32 +00:00
jtc
ab3a89f913 Fix spelling errors 1994-01-14 02:05:23 +00:00
cgd
1900f7508b 386BSD -> NetBSD and/or i386 1993-12-06 09:37:30 +00:00
mycroft
dd486c4952 We said we're going to default to `n', now do it! 1993-12-02 04:57:27 +00:00
mycroft
ba01cff101 Check boundary of *c* partition against the DOS partition table, not the *a*
partition, as we might want the latter to not necessarily be at the beginning
of the NetBSD section.
1993-10-13 06:26:14 +00:00
cgd
f08e3f34a5 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:42:13 +00:00
jtc
66db4d4b5e Update to -mandoc macros 1993-08-05 20:49:16 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft
f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
mycroft
ad0e69d5b0 Don't build man page if NOMAN set. 1993-04-25 06:58:16 +00:00