ovl/cmd
This commit is contained in:
parent
0b2b2acb7b
commit
8490621281
1 changed files with 13 additions and 13 deletions
|
@ -20,6 +20,19 @@ a__overlay_bind_unmount() {
|
|||
done
|
||||
}
|
||||
|
||||
ocr() { a__overlay_command_root "${@}"; }
|
||||
a__overlay_command_root() {
|
||||
chroot \
|
||||
"overlay/mount" "${@}"
|
||||
}
|
||||
|
||||
ocu() { a__overlay_command_user "${@}"; }
|
||||
a__overlay_command_user() {
|
||||
chroot \
|
||||
--userspec "1000:1000" \
|
||||
"overlay/mount" "${@}"
|
||||
}
|
||||
|
||||
orm() { a__overlay_root_mount "${@}"; }
|
||||
a__overlay_root_mount() {
|
||||
local root="${1}"
|
||||
|
@ -96,19 +109,6 @@ a__overlay_root_unmount() {
|
|||
fi
|
||||
}
|
||||
|
||||
ocr() { a__overlay_command_root "${@}"; }
|
||||
a__overlay_command_root() {
|
||||
chroot \
|
||||
"overlay/mount" "${@}"
|
||||
}
|
||||
|
||||
ocu() { a__overlay_command_user "${@}"; }
|
||||
a__overlay_command_user() {
|
||||
chroot \
|
||||
--userspec "1000:1000" \
|
||||
"overlay/mount" "${@}"
|
||||
}
|
||||
|
||||
omm() { a__overlay_mirror_mount "${@}"; }
|
||||
a__overlay_mirror_mount() {
|
||||
mount --make-rslave --rbind "/deb" "overlay/mount/deb"
|
||||
|
|
Loading…
Reference in a new issue