diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-08 19:15:51 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-08 19:15:51 +0200 |
commit | a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54 (patch) | |
tree | 1729dacc923181d1ee72dd6ecb08604ebdbb319b /.local/bin/debmnt | |
parent | update (diff) | |
download | dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.gz dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.bz2 dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.xz dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.zst dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.zip |
update
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 |