Is it possible to make ram drive in android?
https://en.m.wikipedia.org/wiki/RAM_drive
https://android.stackexchange.com/questions/50173/is-it-possible-to-create-a-ramdisk-ramdrive-for-android-4-x#50208
When I try to use the mount command, I get "Bad system call" message.
RAM drive
A RAM drive (also called a RAM disk) is a block of random-access memory (primary storage or volatile memory) that a computer's software is treating as if the memory were a disk drive (secondary storage). RAM drives provide high-performance temporary storage for demanding tasks and protect non-volatile storage devices from wearing down, since RAM...
Android Enthusiasts Stack Exchange
Is it possible to create a RAMDisk / Ramdrive for Android 4.x?
Is it possible to create an auto-growing tmpfs ramdisk on a rooted Android 4.x? If yes, how?
16 Replies
In short, no.
eeeh why noot
Because termux is a regular app and has no superpowers...
but it says with root
Let me rephrase the question.
Why would you wanna make a ramdisk on Android?
What is that gonna do for you?
nothing, just sounds funny
I want to make temporary files, but I don't want to write them on disk, because I heard that ssd has a limited number of writes. By ramdisk I mean a disk that keeps all files in it in ram, and doesn't actually write anything in permanent storage.
I tried to get it with this termux command, but all I got is "bad system call" message:
mount -t tmpfs -o size=500m tmpfs ./ramfolder
youre overthinking it if ur worrying about reads and writes
also /data/local/tmp is a tmpfs that android mounts, you can use that
Doesnt look like I can access that with material files easily.
material files is a horrible file explorer imo
use total/ghost commander
Ghost commander has weird permissions, what do they do? Dont see total commander on f-droid.
because its closed source shareware
https://www.ghisler.com/android.htm
https://www.ghisler.com/android.htm
you should install it from the website, playstore version has limitations
The unrestricted version is still available in our forum, Android section.Whats the difference? Feels like I'll need root access to write anything to /data/local/tmp.
Root or adb access actually.
i assumed you were already using root