lkml.org 
[lkml]   [2012]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] [PATCH 1/3] xen/mce: Add mcelog support for Xen platform (v2)
> What I mean is,
> If mcelog.c create /dev/xen-mcelog (say, minor=226), native mce.c would create /dev/mcelog (minor=227).
> Under such case, may we create a symlink in /dev/mcelog pointing to /dev/xen-mcelog, without touching native mce code? and how?

I thought the idea was that we would create /dev/mcelog using the same major/minor.

However if you want to create /dev/xen-mcelog and then create from the kernel
another file in /dev that is name 'mcelog' and is a symlink to /dev/mcelog - that
is OK too. Obviously you will also need to disable the generic '/dev/mcelog'
(and that can be done in the same way as lguest does it).


\
 
 \ /
  Last update: 2012-05-25 23:41    [W:0.391 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site