Accessing dump file in linear raw format (/dev/oldmem)
Subsystems (2)
PATCH 16/17 Accessing dump file in linear raw format (/dev/oldmem)
From: Hariprasad Nellitheertha <[email protected]>
This patch contains the code that enables us to access the previous kernel's memory as /dev/oldmem.
Signed-off-by Eric Biederman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
linux-2.6.12-rc1-mm3-1M-root/Documentation/devices.txt | 1 linux-2.6.12-rc1-mm3-1M-root/drivers/char/mem.c | 74 +++++++++++++++++ 2 files changed, 75 insertions(+)
Documentation/devices.txt renamed from Documentation/devices.txt~crashdump-linear-raw-format-dump-file-access +1 -0
@@ -94,6 +94,7 @@ Your cooperation is appreciated. 9 = /dev/urandom Faster, less secure random number gen. 10 = /dev/aio Asyncronous I/O notification interface 11 = /dev/kmsg Writes to this come out as printk's + 12 = /dev/oldmem Access to crash dump from kexec kernel 1 block RAM disk 0 = /dev/ram0 First RAM disk 1 = /dev/ram1 Second RAM disk
drivers/char/mem.c renamed from drivers/char/mem.c~crashdump-linear-raw-format-dump-file-access +74 -0
110 lines not on this page · raw message
_