diff options
-rw-r--r-- | .config/zsh/.zshrc | 2 | ||||
-rwxr-xr-x | .local/bin/debmnt | 14 | ||||
-rwxr-xr-x | .local/bin/debumnt | 10 |
3 files changed, 15 insertions, 11 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e00a940..743a2de 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -58,7 +58,7 @@ bindkey "^e" edit-command-line autoload -U add-zsh-hook exa_after_cd() { - exa -l --icons --color=always --group-directories-first --no-permissions --no-user --no-time + exa -l --icons --color=always --group-directories-first --no-permissions --no-user --no-time --no-filesize } add-zsh-hook chpwd exa_after_cd 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 |