From a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 8 May 2022 19:15:51 +0200 Subject: update --- .local/bin/debmnt | 14 +++++++++----- .local/bin/debumnt | 10 +++++----- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to '.local') diff --git a/.local/bin/debmnt b/.local/bin/debmnt index d48b6b6..cdba1e2 100755 --- a/.local/bin/debmnt +++ b/.local/bin/debmnt @@ -9,13 +9,17 @@ kldload linux kldload linux64 +jail -c devuan +jexec -l devuan /bin/bash + # mount /usr/local/jails/devuan/dev # mount /usr/local/jails/devuan/dev/fd -mount -F /etc/fstab.devuan /usr/local/jails/devuan/proc -mount -F /etc/fstab.devuan /usr/local/jails/devuan/sys -mount -F /etc/fstab.devuan /usr/local/jails/devuan/tmp -mount -t devfs none /usr/local/jails/devuan/dev + +# mount -F /etc/fstab.devuan /usr/local/jails/devuan/proc +# mount -F /etc/fstab.devuan /usr/local/jails/devuan/sys +# mount -F /etc/fstab.devuan /usr/local/jails/devuan/tmp +# mount -t devfs none /usr/local/jails/devuan/dev # sysctl compat.linux.osrelease=4.19.0 -chroot /usr/local/jails/devuan /bin/bash +# chroot /usr/local/jails/devuan /bin/bash diff --git a/.local/bin/debumnt b/.local/bin/debumnt index 3d03f42..2bdaae4 100755 --- a/.local/bin/debumnt +++ b/.local/bin/debumnt @@ -2,12 +2,12 @@ # umount /usr/local/jails/devuan/dev # umount /usr/local/jails/devuan/dev/fd -umount /usr/local/jails/devuan/proc -umount /usr/local/jails/devuan/sys -umount /usr/local/jails/devuan/tmp -umount /usr/local/jails/devuan/dev +# umount /usr/local/jails/devuan/proc +# umount /usr/local/jails/devuan/sys +# umount /usr/local/jails/devuan/tmp +# umount /usr/local/jails/devuan/dev -sed -i '' '/devuan/d' /etc/fstab +jail -r devuan kldunload linux kldunload linux64 -- cgit v1.2.3