nsbin/mount-dev-sys-proc
Nico Schottelius 58518fd360
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
add shell script to mount all rescue / chroot required paths
2024-04-18 10:24:21 +02:00

8 lines
125 B
Bash
Executable file

#!/bin/sh
dst=$1; shift
for dir in /dev /proc /sys /sys/firmware/efi/efivars; do
mount --bind $dir ${dst}/${dir}
done