Skip to content
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

Feature Request: mount loopback device #376

Closed
SDRausty opened this issue Aug 2, 2017 · 8 comments
Closed

Feature Request: mount loopback device #376

SDRausty opened this issue Aug 2, 2017 · 8 comments

Comments

@SDRausty
Copy link
Contributor

SDRausty commented Aug 2, 2017

Feature Request: mount loopback device

This issue is fairly simple in Linux: create file of a specific GB size > format filesystem in file > mount filesystem in file via loop device nonroot. This sequence is impossible today on external micro SD storage in Termux on Android. You might even be mounting a filesystem from a file via loop device nonroot on a notebook or desktop without knowing it when you mount a USB stick, CD, DVD or similar.

screenshot_20170804-125035

Referenced issues:

Feature Request: mount loopback device
https://plus.google.com/109614420080028230010/posts/4JcKJuy4ATa

Is it possible to grant permission for Termux to use loop devices?
#375

Does Anyone Want to Have More Native Space on Device?
termux/termux-packages#1176

https://github.com/termux/termux-app/issues?utf8=✓&q=OTG

https://github.com/termux/termux-packages/issues?utf8=✓&q=OTG

Reedited 20170804 UTC. Previous version @ https://sdrausty.github.io/pages/376tapp

Debian Noroot might have the source code to close this issue. It appears to mount an image from a file using https://github.com/pelya/fakechroot "The scripts for creating Debian images are located in directory "img". https://github.com/pelya/debian-noroot/tree/master/img To prepare image, run these scripts:" from https://github.com/pelya/debian-noroot/blob/master/README.md

https://play.google.com/store/apps/details?id=com.cuntubuntu Please check Debian Noroot out if you can. It uses 900MB at start. It has gimp https://www.gimp.org It has lots of goodies; But please remember, you will want a keyboard and mouse.

screenshot_20170803-132456
Screenshot of Debian Noroot running on an Android smartphone.

https://github.com/pelya/debian-noroot

"Run Debian on top of Android with a single click. No root required! Should work on any high-end device! Unleash full unrestricted desktop environment onto your mobile device! Instant frustration guaranteed! (unless you're using mouse or stylus) [and keyboard]."

git clone https://github.com/pelya/debian-noroot
cd debian-noroot
git submodule init
git submodule update //doesn't work, requires passphrase!?
ack loop
ack mount 
ack device
ack img
@OpnSrcConstruction
Copy link

I thought about it, and I don't think I need this feature. My s3 is only KK, my N7 2012 tablet is 32gb of internal only, and an s7 I'm inheriting in the fall has a 256gb ext. sd card(but I'm going to want to keep it free for photos of traveling). is MySQL the onl reason you need to run Debian? As I understand it mariadb which forked from MySQL; when it was bought by Oracle a few years back, is dedicated to being backwards compatible w/ MySQL.
As I understand it(and I reserve the right to be wrong/learn) MariaDB is the continuation of the Community MySQL, that you used for years b4 the project was swallowed by Oracle.
I've included some links as food for thought
https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/
https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-features/

@SDRausty

This comment was marked as spam.

@SDRausty

This comment was marked as spam.

@SDRausty

This comment was marked as spam.

@gordol
Copy link

gordol commented Aug 22, 2018

Why was this closed without explanation?

@ghost
Copy link

ghost commented Aug 22, 2018

@gordol To mount loopback device you need a root.

With having root permissions, the mounting of loop device is easy:

tsu
mount -o loop /dev/block/loop0 /mnt/mydir

@SDRausty

This comment was marked as spam.

@ghost
Copy link

ghost commented Dec 2, 2020

@SDRausty Look my answers above. No one here will bother to implement a tool for userspace image mounting. Please understand that possibilities of Termux maintainers are finite.

Those who really needs mounting as non-root can use QEMU system-mode.

@ghost ghost locked and limited conversation to collaborators Dec 2, 2020
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 4, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 18, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch May 19, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch Jun 5, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch Jun 7, 2022
SDRausty referenced this issue in TermuxArch/TermuxArch Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants