|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Programatically checking if we're in a domU or dom0
> Personally, I use the following command in a
> startup script to check if we're in a privileged
> domain:
>
> grep -qsE '^control_d$' /proc/xen/capabilities
Hi Andrew,
thanks for your tip.
Now I can easily determine wether I'm running
on a modified kernel or not (by checking for
the presence of /proc/xen).
However, once I've found that, I'd like to know
if I'm on a priviledged domain or not.
Sadly my /proc/xen/capabilities is only readable
by root.
What would be a clean way to check for this from
a normal user account?
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] Programatically checking if we're in a domU or dom0,
Lutrin Jean <=
|
|
|
|
|