mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-10 06:51:13 +00:00
New Posts
This commit is contained in:
parent
1febd163f3
commit
198071e141
2 changed files with 30 additions and 0 deletions
17
content/blog/chrootvirtfilesystem.md
Normal file
17
content/blog/chrootvirtfilesystem.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "Chroot and Virtual Filesystems"
|
||||
date: 2020-11-29T10:52:07-05:00
|
||||
draft: false
|
||||
tags: []
|
||||
---
|
||||
|
||||
When running applications under a [`chroot`](https://en.wikipedia.org/wiki/Chroot) environment, it can be annoying when certain [virtual filesystems](https://opensource.com/article/19/3/virtual-filesystems-linux) are unavailable. Here are the commands to mount the most common ones:
|
||||
|
||||
```bash
|
||||
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](https://wiki.archlinux.org/index.php/chroot)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue