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

Eric W. Biederman ebiederm at xmission.com
Tue May 28 18:29:36 EDT 2013


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.

>    1 block	RAM disk
>  		  0 = /dev/ram0		First RAM disk



More information about the kexec mailing list