I think it'd be really cool if I could drag and drop files directly into my RAM, so that I could access these files more quickly when performing I/O-intensive operations on them, or if I'm on a machine with limited storage and I want a temporary place to put things for whatever reason.

I could see it being especially useful for opening large archives.

Is there a way to set this up in EndeavourOS? IIRC, ramdrives are possible in Linux, but I don't know if you can set one up that only uses up as much RAM as you need it to.

EDIT: So I decided to give ramfs a try first. Turns out Dolphin doesn't know how to work with ramfs, at least not very well. I can use Dolphin to create folders on a ramfs mount, as well as to open files I copied there through the terminal, but I can't use Dolphin itself to copy files to a ramfs mount.

With tmpfs on the other hand, Dolphin seems to work fine, and it has the added benefit of being able to mount automatically through fstab with ownership assigned to my user.

Here's the fstab entry I'm currently using:

none /mnt/tmpfs2 tmpfs nofail,nodev,nosuid,noexec,noatime,mode=0700,uid=1000,gid=1001,size=16384M 0 0