mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-23 00:26:30 -05:00
626 B
626 B
date | draft | medium_enabled | medium_post_id | tags | title | |
---|---|---|---|---|---|---|
2020-11-29 15:52:07 | false | true | 37f5b4c46ae8 |
|
Chroot and Virtual Filesystems |
When running applications under a chroot
environment, it can be annoying when certain virtual filesystems are unavailable. Here are the commands to mount the most common ones:
sudo mount -t proc /proc /mnt/root/proc
sudo mount -o bind /sys /mnt/root/sys
sudo mount -o bind /dev /mnt/root/dev
Source: ArchWiki