summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-08 19:15:51 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-08 19:15:51 +0200
commita03c0bef9b2d2ff0d4f9e945f85e6a17498feb54 (patch)
tree1729dacc923181d1ee72dd6ecb08604ebdbb319b
parentupdate (diff)
downloaddotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.gz
dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.bz2
dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.xz
dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.tar.zst
dotfiles-bsd-a03c0bef9b2d2ff0d4f9e945f85e6a17498feb54.zip
update
-rw-r--r--.config/zsh/.zshrc2
-rwxr-xr-x.local/bin/debmnt14
-rwxr-xr-x.local/bin/debumnt10
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