cgd
244a51db99
since the only difference between the old 'savecore' and the new one
...
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.
1996-03-30 06:48:58 +00:00
leo
08b137da1d
Omit kd_live argument to kvm_dump_mkheader().
1996-03-18 21:16:05 +00:00
leo
a10137a7e3
New libkvm/savecore implementation. With the following differences:
...
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.
1996-03-16 10:29:36 +00:00
leo
12ae78d8f0
old savecore - do not update
1996-03-16 10:25:11 +00:00
mycroft
aca94000ae
Put the compression suffix *last*.
1996-03-08 08:52:12 +00:00
cgd
83b019efaa
set dumpsize in dump_exists(), not save_core(), so that minfree check
...
works again. solves pr 1257, but sets dumpsize earlier than suggested
in that pr, so that dumpsize is set if a core doesn't appear to be
present (because dumpsize would be used if the '-f' flag is given).
1995-07-24 20:35:02 +00:00
briggs
beabc1186a
Note the proper name for the core file instead of vmcore, and note the
...
names used when the -z option is present.
1995-06-27 22:40:46 +00:00
cgd
1ce78f01c4
fix verbose printf of dumplo, clean up printfs slightly
1995-06-25 06:28:13 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
5099dbad93
Fix getopt string and test on return value.
1995-01-04 05:30:07 +00:00
cgd
06e2955ff1
specify man pages the new way.
1994-12-22 10:44:04 +00:00
cgd
12e31a0cfc
oops; get rid of previous (iffy) zopen declaration
1994-10-31 04:47:26 +00:00
cgd
6935d116b0
make a proto for zopen (yech)
1994-10-31 04:37:32 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
deraadt
a17fd8ea43
prototype zopen()
...
NBPG --> getpagesize()
1994-09-18 03:40:44 +00:00
mycroft
24a739f276
vmunix --> kernel (for variable names), and make the core file naming
...
convention match that of other executables.
1994-09-17 00:23:00 +00:00
cgd
1cd75f5acb
kill U word
1994-06-13 14:55:39 +00:00
mycroft
c250a07889
Fix up RCS ids.
1994-06-11 07:50:42 +00:00
pk
ee7440f9ab
Update to 4.4-lite.
1994-06-10 13:36:45 +00:00
pk
86fbbf6633
Update to 4.4-lite, local changes to man page.
1994-06-10 13:35:24 +00:00
pk
c3a3100892
Initialize return value from save_core() in case dumpsize == 0.
1994-05-31 09:38:12 +00:00
pk
327bccb71b
Don't clear dump if writing it to the filesystem fails (eg. file system full)
1994-05-27 08:40:49 +00:00
cgd
896fc34ba3
queue/struct changes
1994-04-21 07:58:49 +00:00
cgd
176eb49a7a
kill two casts
1994-04-06 06:40:28 +00:00
cgd
df58009c91
serious perversion:
...
most of the 'off' arguments to Lseek() (the internal lseek() wrapper)
are unsigned longs. we need them to be sign extended, though, so change
Lseek() to take a 'long' rather than an 'off_t', and let the compiler
do the dirty work via implicit casts.
1994-04-06 01:41:32 +00:00
cgd
98069adca5
lseek stuff, and clean up. this is perverse.
1994-04-04 22:45:08 +00:00
cgd
83763b7de3
correct ok() calculation for all architectures.
1994-02-14 19:32:21 +00:00
pk
6a51809ffe
Check for dumpdev being NODEV. If so, exit silently, unless verbose is on.
1993-12-08 16:43: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
2982be9a6f
Add RCS identifiers.
1993-08-01 00:57:02 +00:00
cgd
b740fbac92
bsd->netbsd
1993-04-28 06:37:52 +00:00
cgd
71223b0548
kernel name is /bsd
1993-04-28 05:43:16 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00