diff options
Diffstat (limited to '.local/bin/debmnt')
-rwxr-xr-x | .local/bin/debmnt | 14 |
1 files changed, 9 insertions, 5 deletions
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 |