summaryrefslogtreecommitdiffstats
path: root/.local/bin/debmnt
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/bin/debmnt
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/bin/debmnt')
-rwxr-xr-x.local/bin/debmnt18
1 files changed, 9 insertions, 9 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