Skip to content

emore-xpxx/tchroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tchroot

tchroot is a chroot wrapper, which itself mounts the necessary pseudo-file systems and creates a chroot into the directory specified by the first argument, with the shell specified by the second argument.

Why use tchroot?

Instead of typing:

mount --types proc /proc /mnt/example/proc
mount --rbind /sys /mnt/example/sys
mount --make-rslave /mnt/example/sys
mount --rbind /dev /mnt/example/dev
mount --make-rslave /mnt/example/dev
mount --bind /run /mnt/example/run
mount --make-slave /mnt/example/run
chroot /mnt/example /bin/bash

You can simply run:

tchroot /mnt/example /bin/bash

Installation

# TBA

Images

1.png ^ Chrooting into / with tchroot.

License

MIT (X11). See LICENSE.md for details.

About

Chroot utility wrapper.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages