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() {
|
mr() {
|
||||||
local f
|
local directory
|
||||||
for f in "dev" "dev/pts" "proc" "sys"; do
|
for directory in "dev" "dev/pts" "proc" "sys"; do
|
||||||
mount --bind "/${f}" "overlay/mount/${f}"
|
if ! mount --bind "/${directory}" "overlay/mount/${directory}"; then
|
||||||
|
log_error "Unable to bind mount directory: ${directory}"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue