:: Re: [DNG] Help needed:[Fwd: eudev: …
Página Inicial
Delete this message
Reply to this message
Autor: tom
Data:  
Para: aitor_czr
CC: dng
Assunto: 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/_/    [   ]
    /   \_    [   /
    \     \_  /  /
     [ [ /  \/ _/
    _[ [ \  /_/