Open AZMCode opened 2 years ago
In fact, the ability to mount and dismount partitions and files you have permissions for within the proot could be very useful nonetheless
By "Posted Here Already" I'm referring to #101 BTW
I use proot in an academic lab environment, where NFS is painfully slow on small files (3 hours of pacman -Syu
) and I have no access to FUSE.
I'm also interested in whether we can have image mounting features in proot.
I'm aware this issue has been posited here before, but I have an answer to the question that closed it. There is a use for this.
In Termux (the Android Terminal Emulator) proot is used often to run a full Linux distro with simulated root privileges. However, due to some of Termux's and Android's limitations, it cannot be installed to an SD card. Namely, the filesystem on the SD card does not support the needed features. This in turn limits the user to the comparatively small internal storage if they don't have root privileges.
Unless proot could somehow emulate mounting a file system image internally, and run inside it. Considering Proot's entire thing is intercepting syscalls, including the ones to read and write files, I imagine this could be done.
In fact, there's many requests for this on the Internet if you Google around.