[PATCH v2 2/7] Documentation/devices.txt: Mark /dev/oldmem obsolete

Zhang Yanfei zhangyanfei at cn.fujitsu.com
Wed May 29 03:45:20 EDT 2013


On 05/29/2013 06:29 AM, Eric W. Biederman wrote:
> Zhang Yanfei <zhangyanfei.yes at gmail.com> writes:
> 
>> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
>>
>> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
>> Cc: Dave Jones <davej at redhat.com>
>> ---
>>  Documentation/devices.txt |    3 +--
>>  1 files changed, 1 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devices.txt b/Documentation/devices.txt
>> index 08f01e7..c8e4002 100644
>> --- a/Documentation/devices.txt
>> +++ b/Documentation/devices.txt
>> @@ -100,8 +100,7 @@ Your cooperation is appreciated.
>>  		 10 = /dev/aio		Asynchronous I/O notification interface
>>  		 11 = /dev/kmsg		Writes to this come out as printk's, reads
>>  					export the buffered printk records.
>> -		 12 = /dev/oldmem	Used by crashdump kernels to access
>> -					the memory of the kernel that crashed.
>> +		 12 = /dev/oldmem	OBSOLETE
> 
> Let me suggest the slightly better.
> 
>  +		12 = /dev/oldmem	OBSOLETE - replaced by /proc/vmcore
> 
> Pointing to people to /proc/vmcore should help anyone who is trying to
> understand what is going on.

Makes sense to me. Updated patch below:

-----------------------------------
>From d2f7baf2aba86069f941f32669a22dbd99082614 Mon Sep 17 00:00:00 2001
From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
Date: Wed, 29 May 2013 15:44:09 +0800
Subject: [PATCH] Documentation/devices.txt: Mark /dev/oldmem obsolete

Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
---
 Documentation/devices.txt |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index 08f01e7..315455a 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -100,8 +100,7 @@ Your cooperation is appreciated.
 		 10 = /dev/aio		Asynchronous I/O notification interface
 		 11 = /dev/kmsg		Writes to this come out as printk's, reads
 					export the buffered printk records.
-		 12 = /dev/oldmem	Used by crashdump kernels to access
-					the memory of the kernel that crashed.
+		 12 = /dev/oldmem	OBSOLETE - replaced by /proc/vmcore
 
   1 block	RAM disk
 		  0 = /dev/ram0		First RAM disk
-- 
1.7.1




More information about the kexec mailing list