suckless linux distro
git clone git://
Log | Files | Refs | Submodules | README | LICENSE

commit b4165184fed0cbc6913eaab207c2f5f110c38aca
parent 2ee7b8828a99eb11dd87f27f412df2102a024208
Author: Daniel Bainton <>
Date:   Sun Mar  9 11:23:03 +0000

Add run-chroot script to misc/

The script will first mount dev and proc and then it will chroot into
the root/ directory and after exiting the chroot, it will unmount dev and

Can be used to quickly test the built system.

misc/run-chroot | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/misc/run-chroot b/misc/run-chroot @@ -0,0 +1,16 @@ +#!/bin/sh + +echo -n "Mounting dev... " +sudo mount -o bind /dev root/dev +echo "done." +echo -n "Mounting proc... " +sudo mount -t proc proc root/proc +echo "done." +echo "Chrooting..." +sudo chroot root /bin/sh +echo -n "Unmounting dev... " +sudo umount root/dev +echo "done." +echo -n "Unmounting proc... " +sudo umount root/proc +echo "done."