Gentoo Archives: gentoo-embedded

From: Phil Tooley <phil.tooley@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Qemu-user chroot handbook chapter - mdev issue
Date: Tue, 22 Jul 2014 19:29:10
Message-Id: CAL=Nhm4m4dQYP+9nzwwSh2ecrWeFoBZuLaB2C8H_4+buTqR1JQ@mail.gmail.com
1 Hi all,
2
3 I have been looking at the handbook section regarding a qemu-user chroot
4 and have some serious concerns about part of it. Specifically, in the
5 section for setting up the chroot it is suggested to run
6
7 chroot . /bin/busybox mdev -s
8
9 Since I (like most others) am currently running udev, this seems to me like
10 a very bad idea. (And indeed this is confirmed when I try it on my dev VM,
11 where the permissions for /dev/pts /dev/null /dev/random etc. are messed up
12 by this)
13
14 Can someone please explain the logic here, since as far as I can tell so
15 far, simply omitting this step does no major harm.
16
17 Cheers
18
19 Phil Tooley

Replies

Subject Author
Re: [gentoo-embedded] Qemu-user chroot handbook chapter - mdev issue "Anthony G. Basile" <basile@××××××××××××××.edu>