-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage suggestions #9
Comments
|
I meant the location of a file or device backing the chroot, not for the directory the chroot is mounted into. Noexec on a mount point is irrelevant mounted files stored there. /storage/????-???? is mounted noexec, but /storage/????-????/disk.img mounted at /data/debian/mnt/image is not; I just double checked this with the BusyBox binary and it works fine. (The loop device is still in use even after it's umounted, you need to use As for finding where the sdcard is located, this can actually be done with the storage manager command
I was unaware there's a mount_image and make_image script because I'm a dummy who didn't read the complete readme, so that makes sense. I don't have any objections to using /data/debian as a default, either. I'm really just looking for a way to make using custom locations more automated. As far as extra point points goes, I mean for directories to be bind-mounted inside the chroot, to make them more readily available (like my static termux user bins, or /sdcard/Downloads, etc). |
This is just a suggestion, not a request: prompt the user for the location of the chroot. This could be an image located on the sdcard, a directory in the filesystem, etc. I have an sdcard that I intend to partition, and I'll be mounting one of the partitions into /data/debian to use for the chroot.
Secondly, it may be worthwhile to have an option for extra mount points. For example,
bootlinux termux/home/.local/bin:/root/.local/bin /storage/????-????/cargo-registry:/root/.cargo/registry
. This would be useful for things like keeping large data directories on the external sdcard instead of eating internal storage.My device only has 16gb internally, so I'm using bind mounts for .cargo/registry, system man pages, and a few other areas. I should note that there's something odd about the external sdcard, I had to mount it separately to do this, as bind mounting /storage/????-???? resulted in an empty directory. I haven't debugged this, I just mounted it to /data/debian/mnt/external instead.
The text was updated successfully, but these errors were encountered: