Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
Andrey V. Elsukov
a62c8c6a99
Revert r156046. We support setting dumpdev via loader tunable again.
...
Also change default disk name to ada.
MFC after: 3 weeks
2014-10-08 12:19:48 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
d1d0158641
Merge from head
2013-09-05 20:18:59 +00:00
Joel Dahl
4684a6ef0c
Adapt to the fact that minidumps are now on by default.
...
PR: 177188
2013-04-30 07:22:03 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Simon J. Gerraty
23090366f7
Sync from head
2012-11-04 02:52:03 +00:00
Alfred Perlstein
4a790edd1b
Document that you can use -v along with -l.
...
Noticed by: pjd
2012-11-02 17:30:08 +00:00
Alfred Perlstein
f6848434fe
Add an option to display the current dump device via dumpon -l.
...
MFC after: 2 weeks
2012-11-01 18:59:19 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Ruslan Ermilov
106d839190
Switch the default WARNS level for sbin/ to 6.
...
Submitted by: Ulrich Spörlein
2009-10-19 16:00:24 +00:00
John Baldwin
b54a17cd2f
Whitespace and style nits.
2006-10-31 22:36:49 +00:00
Paul Saab
ce893772bd
With minidumps, the dumping partition could be smaller than physical
...
memory, so checking the size of the partition is not necessary.
Tested by: kris
2006-04-27 19:01:54 +00:00
Kris Kennaway
3676d4b6e2
It has not been possible to specify a dumpdev in loader.conf since 2002,
...
so don't raise false hopes here.
2006-02-27 00:15:53 +00:00
Pav Lucistnik
62aedb0446
- Mention the size of the additional header
...
PR: docs/85867
Submitted by: dinoex
MFC after: 1 week
2006-01-07 19:17:13 +00:00
Ruslan Ermilov
6087df9e8b
Sort sections.
2005-01-18 10:09:38 +00:00
Dag-Erling Smørgrav
9872f15d75
Promote mediasize and physmem to uintmax_t when comparing them.
2004-10-04 06:54:19 +00:00
Dag-Erling Smørgrav
53504142a9
Whitespace nit.
2004-10-03 23:53:54 +00:00
Dag-Erling Smørgrav
9f4ed0f59b
dumpon builds cleanly at WARNS level 6.
2004-10-03 23:39:14 +00:00
Dag-Erling Smørgrav
c0046e261f
Verify that the specified device is at least as large as hw.physmem.
2004-10-03 23:38:49 +00:00
Dag-Erling Smørgrav
842ddc99ec
Wrap some long lines (no content changes)
2004-10-03 23:35:34 +00:00
Maxim Konovalov
b705040954
`off' is a keyword, not a parameter name.
...
Obtained from: DragonFly
2004-07-18 09:57:47 +00:00
Mark Murray
4c723140a4
Remove advertising clause from University of California Regent's license,
...
per letter dated July 22, 1999.
Approved by: core, imp
2004-04-09 19:58:40 +00:00
Johan Karlsson
604d24db95
style.Makefile(5):
...
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
Hiten Pandya
8340d5bcae
Bring the dumpon(8) man page closer to reality:
...
- dumpon utility has not used kern.dumpdev sysctl
since rev. 1.14 (sbin/dumpon/dumpon.c) when phk@
updated it to use the DIOCSKERNELDUMP ioctl [1]
- remove obsolete reference to sysctl(3)
While I am there, fix two style nits:
- use .Nm instead of `dumpon'
- change NOTES to IMPLEMENTATION NOTES, to bring
it in line with recommended section headings in
mdoc(7)
Original patch by: Martin Faxer <gmh003532brfmasthugget.se> [1]
PR: docs/39293
Approved and Reviewed by: des (mentor), re (scottl, bmah)
2003-05-07 19:37:51 +00:00
David E. O'Brien
c69284ca08
Use __FBSDID() to quiet GCC 3.3 warnings.
2003-05-03 18:41:59 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Ruslan Ermilov
80c9c8be99
Improve wording even more.
2002-08-13 11:39:38 +00:00
Matthew Dillon
6ff8114c79
Replace the 'at least the amount of physical memory + 64K' with a better
...
explanation in regards to sizing the dump device.
2002-07-09 17:27:08 +00:00
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
Alfred Perlstein
4a21733e2d
unbreak build: include string.h for strcmp prototype.
2002-05-11 03:07:38 +00:00
Tom Rhodes
0042d709b8
Update dumpon manual page to explain single/multi-user usability
...
PR: 36465
No Objections from: ru
2002-04-09 19:51:50 +00:00
Poul-Henning Kamp
7f086a0852
Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking
...
is a "set" not a "get" operation.
Sponsored by: DARPA & NAI Labs.
2002-04-09 10:04:09 +00:00
Poul-Henning Kamp
2dd527b3ac
Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.
...
Sponsored by: DARPA & NAI Labs
2002-04-08 09:20:07 +00:00
Poul-Henning Kamp
9e9c1cad4c
Here follows the new kernel dumping infrastructure.
...
Caveats:
The new savecore program is not complete in the sense that it emulates
enough of the old savecores features to do the job, but implements none
of the options yet.
I would appreciate if a userland hacker could help me out getting savecore
to do what we want it to do from a users point of view, compression,
email-notification, space reservation etc etc. (send me email if
you are interested).
Currently, savecore will scan all devices marked as "swap" or "dump" in
/etc/fstab _or_ any devices specified on the command-line.
All architectures but i386 lack an implementation of dumpsys(), but
looking at the i386 version it should be trivial for anybody familiar
with the platform(s) to provide this function.
Documentation is quite sparse at this time, more to come.
Sponsored by: DARPA, NAI Labs
Details:
Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set it
to be the dumpdevice. When "off" is set, /dev/null is used.
2002-03-31 22:24:24 +00:00
Warner Losh
d1a939c146
o __P
...
o Strict ANSI declarations.
o return (foo);
o main (int, char *[])
2002-03-18 06:59:15 +00:00
Maxim Sobolev
21367f05ab
CG hard sentence breaks.
...
Submitted by: ru
2002-01-23 09:35:55 +00:00
Maxim Sobolev
65ab9c78a3
Don't use `you'.
...
Submitted by: ru
2002-01-22 21:11:18 +00:00
Maxim Sobolev
dcd7d9b7b7
Allow dump device be configured as early as possible using loader(8) tunable.
...
This allows obtaining crash dumps from the panics occured during late stages
of kernel initialisation before system enters into single-user mode.
MFC after: 2 weeks
2002-01-21 01:16:11 +00:00
David E. O'Brien
2d68bf45bf
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
Nick Hibma
76c83512ef
Typo.
2001-10-28 16:47:06 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Dima Dorfman
cafefe8c1b
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Ruslan Ermilov
ed40311694
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ben Smithurst
d9a9b8dbb6
* Clarify text on choosing a dump device
...
* Remove the text which states only devices with minor number 1 can be used
- this is no longer true.
* Mention that dumpon(8) cannot be used to capture dumps from panics during
kernel initialization.
* /dev/wd -> /dev/ad
PR: 19848
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
Reviewed by: sheldonh
2000-07-14 18:04:39 +00:00
Jeroen Ruigrok van der Werven
219f5cc47b
Remove unused #include.
2000-05-01 19:39:36 +00:00
Sheldon Hearn
fd5075e5c6
Back out the new advice introduced in the previous commit, which at
...
least one reviewer is now unhappy with, since it contains incomplete
and misleading advice that is not easy to correct.
The net effect of this commit and the previous commit is to simply
remove all discussion of setting dumpdev to catch crash dumps
prior to entering user mode.
2000-03-28 15:54:32 +00:00
Sheldon Hearn
df586e923b
Update instructions for setting the dump device prior to multi-user
...
mode.
Reported by: dcs
Submitted by: asmodai
2000-03-28 09:32:38 +00:00
Poul-Henning Kamp
9f68791143
The dumpon sysctl only accept cdevs thse days.
...
Submitted by: bde
2000-01-04 12:52:52 +00:00
Andrey A. Chernov
c34957baa7
Accept both types of devices to work with older kernels too
...
Fix confusing message
1999-11-30 16:27:30 +00:00
Poul-Henning Kamp
ee072c08d0
Convert dumpon to work on character devices instead of block devices.
...
NB: You may need to change your /etc/rc.conf!
1999-11-28 16:25:17 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Joseph Koshy
25c0391524
Use current names for swap devices.
...
PR: docs/11708
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
1999-05-17 05:23:17 +00:00
Wolfram Schneider
acd8019083
Sort cross references.
1998-08-31 16:41:09 +00:00
Philippe Charnier
8f034b11f2
Capitalize at the start of sentence. Add rcsid. Remove unused #includes.
...
Use `dumpon' instead of argv[0].
1998-06-15 07:03:47 +00:00
Joseph Koshy
e44af4db8d
Correct manual page, based on feedback from Bruce Evans.
...
Reviewed by: Bruce Evans <bde@freebsd.org>
1998-05-27 11:05:59 +00:00
Joseph Koshy
bb556bcf30
Manual page fix: add cross references, refer to ``dumpdev'' variable in
...
"/etc/rc.conf".
PR: 6117
Submitted by: Mark Mayo <mark@vmunix.com>
1998-05-25 08:54:40 +00:00
Warner Losh
8d64695c7c
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 03:33:12 +00:00
Peter Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mike Pritchard
85cf659a76
Use the .Fx macro where appropriate.
1996-08-23 00:57:08 +00:00
Mike Pritchard
4bd9ba3c2f
Fixed some minor formatting problems to silence manck some more.
...
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have. Various other minor changes to silence manck.
Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Garrett Wollman
83f9dfab4d
My utility to specify where you want crash dumps to go. More user
...
and kernel support to follow.
1995-05-12 19:10:09 +00:00