Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # forgot reference here, probably stack-exchange
- function chroot-usb()
- {
- mount -t proc /proc $1/proc
- mount -t sysfs /sys $1/sys
- mount -o bind /dev $1/dev
- mount -t devpts /dev/pts $1/dev/pts
- chroot $1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement