me.fier.chroot/readme.txt

15 lines
448 B
Plaintext
Raw Normal View History

2023-03-24 12:04:19 +00:00
Syntax: ./chroot.py <flags> <dir> [command] [arg 1] [arg 2] ...
Chroots into a directory, and keeps it mounted.
Flags:
* -u: Unmount the chroot, useful for copying, moving, deleting the chroot.
---
Scripts are sourced from '$scriptdir/scripts/*', and then '$chroot/opt/me.fier.chroot/*'
Scripts (Draft, TODO!):
* premount/*.py: Ran before directories are mounted/unmounted.
* mount/*.py: Ran after mounted.
* umount/*.py: Ran after unmounting.