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

From: Zhang Yanfei
Date: Wed May 29 2013 - 03:48:12 EST


On 05/29/2013 06:29 AM, Eric W. Biederman wrote:
> Zhang Yanfei <zhangyanfei.yes@xxxxxxxxx> writes:
>
>> From: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx>
>>
>> Signed-off-by: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx>
>> Cc: Dave Jones <davej@xxxxxxxxxx>
>> ---
>> 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:

-----------------------------------