nsbin/mount-dev-sys-proc

9 lines
125 B
Text
Raw Permalink Normal View History

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