Gentoo Archives: gentoo-user

From: Paul Tobias <tobias.pal@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mount -o bind /dev /mnt/gentoo/dev
Date: Tue, 23 Jun 2015 20:20:43
Message-Id: CABHv7=p-_Y156nh6wFi2FBDDpprS+SS0WQWa7a6Hd17kxhGUGg@mail.gmail.com
In Reply to: Re: [gentoo-user] mount -o bind /dev /mnt/gentoo/dev by David Haller
1 > test -e ${root}/dev/zero || mount --bind /dev/ ${root}/dev
2 > test -e ${root}/dev/shm/dh || mount --bind /dev/shm ${root}/dev/shm
3 > test -e ${root}/dev/pts/0 || mount --bind /dev/pts/ ${root}/dev/pts
4
5 no need to separately mount shm and pts, just use --rbind, as the install
6 doc recommends https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base