From bf40ab8f11cdd005886b232e5a4ab595c5de320e Mon Sep 17 00:00:00 2001 From: udeved Date: Fri, 3 Jul 2015 18:02:57 +0200 Subject: [PATCH] update readme --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 3909c74..ae76d40 100644 --- a/README.md +++ b/README.md @@ -305,3 +305,31 @@ Usage: buildtree [options] ~~~ buildtree -as ~~~ + +###6. manjaro-chroot + +manjaro-chroot is a little tool to quickly chroot into a second system installed on the host. +If the automount option is enabled, manjaro-chroot will detect installed systems with os-prober, and pops up a list with linux systems to select from. +If there is only 1 system installed besides the host system, no list will pop up and it will automatically mount the second system. + +~~~ +$ manjaro-chroot -h +usage: ${0##*/} chroot-dir [command] + -a Automount detected linux system + -q Query settings and pretend + -h Print this help message + + If 'command' is unspecified, manjaro-chroot will launch /bin/sh. +~~~ + +######* automount + +~~~ +manjaro-chroot -a +~~~ + +######* mount manually + +~~~ +manjaro-chroot /mnt /bin/bash +~~~