On 05/29/2013 06:29 AM, Eric W. Biederman wrote:
> Zhang Yanfei <zhangyanfei....@gmail.com> writes:
> 
>> From: Zhang Yanfei <zhangyan...@cn.fujitsu.com>
>>
>> Signed-off-by: Zhang Yanfei <zhangyan...@cn.fujitsu.com>
>> Cc: Dave Jones <da...@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 <zhangyan...@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 <zhangyan...@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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to