me.fier.chroot/readme.txt

17 lines
545 B
Plaintext

Syntax: ./mfchroot [flags] <dir> [command] [arg 1] [arg 2] ...
Chroots into a directory, and optionally sets up additional things.
Flags:
* -m: Mount the chroot, but don't actually chroot into it.
* -u: Unmount the chroot, useful for copying, moving, deleting the chroot.
---
Scripts are sourced from '$scriptdir/scripts/*' and '$chroot/opt/mfchroot/scripts/*'. If the scripts have the same name in the second folder, it overrides scripts in the first.
Scripts:
* mount/: Mount the chroot.
* chroot/: Chroot.
* umount/: Unmount the chroot.