:: Re: [DNG] Help needed:[Fwd: eudev: …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: tom
Date:  
À: aitor_czr
CC: dng
Sujet: Re: [DNG] Help needed:[Fwd: eudev: Methods to detect if running in a container.]
On Mon, 30 Mar 2020 16:37:40 +0000
aitor_czr <aitor_czr@???> wrote:

> Hi,
>
> On 30/3/20 14:09, g4sra via Dng wrote:
> > Fails to identify a Devuan Guest which has its own partition
> > running in a VM hosted by Fedora.
>
> Are you referring to the *raw* host hard disk from a guest?
>
> http://www.virtualbox.org/manual/ch09.html#rawdisk
>
> Aitor.
>
>


OpenRC natively supports detecting what kind of environment it running
in. Be it baremetal, LXC, etc. Perhaps you could use that or at least
look at the source code for it.

-- 
 ________________________________________ 
/ It's illegal in Wilbur, Washington, to \
\ ride an ugly horse.                    /
 ---------------------------------------- 
\
 \
   /\   /\   
  //\\_//\\     ____
  \_     _/    /   /
   / * * \    /^^^]
   \_\O/_/    [   ]
    /   \_    [   /
    \     \_  /  /
     [ [ /  \/ _/
    _[ [ \  /_/