Binding
-
3. Mounting Proc
Bind Process Information Pseudo-filesystem
With:Copymount --bind /proc /mnt/newroot/proc
Binding consists in Cloning the actual Directories Tree in a Different Point.
-
4. Binding Devices
Then start Binding the Devices directory
With:Copymount --bind /dev /mnt/newroot/dev
-
5. Mounting Pseudoterminal
Now to Mount the Pseudoterminal Slave
Play:Copymount -t devpts none /mnt/newroot/dev/pts
-
6. Binding Sysfs
And after Bind sysfs Virtual File System
With:Copymount --bind /sys /mnt/newroot/sys
-
7. Binding Temporary
So Bind the Temporary for the New Root
Playing:Copymount --bind /tmp /mnt/newroot/tmp
Contents