ovl/mirror
This commit is contained in:
parent
8490621281
commit
c4b7796bb3
1 changed files with 10 additions and 10 deletions
|
@ -33,6 +33,16 @@ a__overlay_command_user() {
|
|||
"overlay/mount" "${@}"
|
||||
}
|
||||
|
||||
omm() { a__overlay_mirror_mount "${@}"; }
|
||||
a__overlay_mirror_mount() {
|
||||
mount --make-rslave --rbind "/deb" "overlay/mount/deb"
|
||||
}
|
||||
|
||||
omu() { a__overlay_mirror_unmount "${@}"; }
|
||||
a__overlay_mirror_unmount() {
|
||||
umount --recursive "overlay/mount/deb"
|
||||
}
|
||||
|
||||
orm() { a__overlay_root_mount "${@}"; }
|
||||
a__overlay_root_mount() {
|
||||
local root="${1}"
|
||||
|
@ -109,16 +119,6 @@ a__overlay_root_unmount() {
|
|||
fi
|
||||
}
|
||||
|
||||
omm() { a__overlay_mirror_mount "${@}"; }
|
||||
a__overlay_mirror_mount() {
|
||||
mount --make-rslave --rbind "/deb" "overlay/mount/deb"
|
||||
}
|
||||
|
||||
omu() { a__overlay_mirror_unmount "${@}"; }
|
||||
a__overlay_mirror_unmount() {
|
||||
umount --recursive "overlay/mount/deb"
|
||||
}
|
||||
|
||||
ors() { a__overlay_root_squash "${@}"; }
|
||||
a__overlay_root_squash() {
|
||||
local directory="${1}"
|
||||
|
|
Loading…
Reference in a new issue