summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-05 13:33:53 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-05 13:33:53 +0200
commit0ce03ae4b1abdce574da003e3d6950d329504085 (patch)
treeb022cb0e1a1b9c517870c03157bff8e3115bcabf /.local
parentDebian jails incomming (diff)
downloaddotfiles-bsd-0ce03ae4b1abdce574da003e3d6950d329504085.tar.gz
dotfiles-bsd-0ce03ae4b1abdce574da003e3d6950d329504085.tar.bz2
dotfiles-bsd-0ce03ae4b1abdce574da003e3d6950d329504085.tar.xz
dotfiles-bsd-0ce03ae4b1abdce574da003e3d6950d329504085.tar.zst
dotfiles-bsd-0ce03ae4b1abdce574da003e3d6950d329504085.zip
in progress
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/debmnt18
-rwxr-xr-x.local/bin/debumnt11
2 files changed, 15 insertions, 14 deletions
diff --git a/.local/bin/debmnt b/.local/bin/debmnt
index 2928194..bfef319 100755
--- a/.local/bin/debmnt
+++ b/.local/bin/debmnt
@@ -1,17 +1,17 @@
#!/bin/sh
-echo "devfs /compat/debian/dev devfs rw 0 0" >> /etc/fstab
-echo "fdescfs /compat/debian/dev/fd fdescfs rw,linrdlnk 0 1" >> /etc/fstab
-echo "linsys /compat/debian/sys linsysfs rw 0 0" >> /etc/fstab
-echo "linproc /compat/debian/proc linprocfs rw 0 0" >> /etc/fstab
+echo "devfs /usr/loacal/jails/devuan/dev devfs rw 0 0" >> /etc/fstab
+echo "fdescfs /usr/loacal/jails/devuan/dev/fd fdescfs rw,linrdlnk 0 1" >> /etc/fstab
+echo "linsys /usr/loacal/jails/devuan/sys linsysfs rw 0 0" >> /etc/fstab
+echo "linproc /usr/loacal/jails/devuan/proc linprocfs rw 0 0" >> /etc/fstab
-mount /compat/debian/dev
-mount /compat/debian/dev/fd
-mount /compat/debian/proc
-mount /compat/debian/sys
+mount /usr/loacal/jails/devuan/dev
+mount /usr/loacal/jails/devuan/dev/fd
+mount /usr/loacal/jails/devuan/proc
+mount /usr/loacal/jails/devuan/sys
sysctl compat.linux.osrelease=4.19.0
kldload linux
kldload linux64
-chroot /compat/debian /bin/bash
+chroot /compat/devuan /bin/bash
diff --git a/.local/bin/debumnt b/.local/bin/debumnt
index ad592b7..3abb697 100755
--- a/.local/bin/debumnt
+++ b/.local/bin/debumnt
@@ -1,10 +1,11 @@
#!/bin/sh
-umount /compat/debian/dev
-umount /compat/debian/dev/fd
-umount /compat/debian/proc
-umount /compat/debian/sys
+umount /usr/loacal/jails/devuan/dev
+umount /usr/loacal/jails/devuan/dev/fd
+umount /usr/loacal/jails/devuan/proc
+umount /usr/loacal/jails/devuan/sys
-sed -i '' '/debian/d' /etc/fstab
+sed -i '' '/devuan/d' /etc/fstab
kldunload linux
+kldunload linux64