mr
This commit is contained in:
parent
58ca9eb86f
commit
94746ca497
1 changed files with 6 additions and 3 deletions
|
@ -73,9 +73,12 @@ uo() {
|
|||
}
|
||||
|
||||
mr() {
|
||||
local f
|
||||
for f in "dev" "dev/pts" "proc" "sys"; do
|
||||
mount --bind "/${f}" "overlay/mount/${f}"
|
||||
local directory
|
||||
for directory in "dev" "dev/pts" "proc" "sys"; do
|
||||
if ! mount --bind "/${directory}" "overlay/mount/${directory}"; then
|
||||
log_error "Unable to bind mount directory: ${directory}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue