[libvirt] Mounting /dev/tty* to the Virtual Domain.

Ryota Ozaki ozaki.ryota at gmail.com
Tue Jun 1 14:39:07 UTC 2010


On Tue, Jun 1, 2010 at 5:20 PM, Kumar L Srikanth-B22348
<B22348 at freescale.com> wrote:
> Hi All,
>
> How to mount /dev/tty* files to the Virtual Domain ‘/dev’ directory. Some of
> the packages are not installing in the Virtual Domain, due the absence of
> these files in the /dev directory.
>
> In the rootfs directory, ‘/dev’ directory shows lot of files, but after
> mounting to the rootfs to ‘/’ directory of Virtual Domain, some tty* files
> are missing.
>
> How to mount those tty files to the Virtual Domain?

At this point, you cannot control a set of device files appearing in a domain.
Libvirt defines the set internally and doesn't provide a way to change it with
a configuration file or somewhat. Note that '/dev' which you see inside a domain
is tmpfs that hides existing device files; it's not identical with
'/dev' outside.

  ozaki-r


>
>
>
> Regards,
>
> Srikanth.




More information about the libvir-list mailing list