[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add switch to mount/bind common folders
From: |
darkdragon |
Subject: |
Add switch to mount/bind common folders |
Date: |
Wed, 6 Sep 2017 11:41:40 +0200 |
When using chroot, one usually wants to mount/bind special folders too:
mount -o bind /dev /mnt/dev
mount -t sysfs sysfs /mnt/sys
mount -t proc procfs /mnt/proc
I was wandering, if there is any reason, why there is no additional command
line switch to chroot to automatically perform these steps?
If not, can someone please add them?
(maybe it should store a flag in this case and try to unmount them when
exiting again)
- Add switch to mount/bind common folders,
darkdragon <=