The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
88 views

How do I lock a growing directory in memory?

I want a directory to be fast to read from, like on tmpfs for some time. The closest thing is this: vmtouch -L -m 2G /path/to/mydir But this does not detect new or deleted files.
2
votes
1answer
477 views

tmpfs performance

I use avconv to make screen recording of gameplays on linux (yeah, I'm sorry, I am one of them, but I get more excited about the scripts than playing it self), but recently my harddrive has gone and ...
1
vote
1answer
321 views

What parts of the filesystem to tmpfs/squashfs/sparseimage for USB live system

I want to create a live system on a USB key / SDCard with Linux Mint 14 (KDE or Debian Edition) that stores data persistently. The USB key needs to have at least one fat32 partition. As storage for ...
3
votes
0answers
42 views

fstab doens't read mode value

Following this guide: I set my /etc/fstab file in this way: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults,ro 0 ...
2
votes
0answers
28 views

Restrict /proc/mounts to avoid exposure of /run/user/

EDIT: Currently looking at this solution.. (namespaces), but still wouldn't mind any pointers for doing what I'm after another way. We have a custom SELinux policy on CentOS 7.2 which confines users ...
2
votes
0answers
200 views

Using shared memory through tmpfs and NUMA on x86_64/Linux

Here's what I'd like to do: put a file on tmpfs but ensure that all of it (all pages of it) ends up on the same NUMA node. First, I thought this would be trivial: I'd just mmap() a tmpfs file with ...
2
votes
0answers
420 views

Moving /dev/shm/ to /run/shm in Arch?

Dolphin (The KDE4 FM) would not receive file change notifications for /dev/shm, but for /run/shm. So now I would like to migrate /dev/shm/ to /run/shm, but I couldn't find the corresponding part in ...
1
vote
0answers
97 views

Ubuntu 16.04 with read-only filesystem and writable layer

(This is a cross post from askubuntu, as I think here are more people to know how to get this working) I want to set up Ubuntu 16.04 like a live CD. This worked great in Ubuntu 12.04 but with 16.04 ...
1
vote
0answers
12 views

Tmpfs with overflow on disk?

I'm looking for a way to have a tmpfs-like file system that can be unlimited in size, but will use a specified amount of RAM after which the "oversize" data will be stored on another disk-backed ...
1
vote
0answers
679 views

How are ownership and permissions of tmpfs folders created via /etc/fstab determined?

I've created a folder /mnt/ramdisk. I've got the following line in /etc/fstab to create the ramdisk at startup and mount it to /mnt/ramdisk: tmpfs /mnt/ramdisk tmpfs size=4096M,mode=0777,...
1
vote
0answers
68 views

unlimited tmpfs

How to have the advantages of tmpfs and not be limited to its small size? I'm thinking of a shell script that runs as a daemon, monitors RAM and adds more swap files in specified folder, when memory ...
0
votes
0answers
33 views

How to add squashfs file to linux live iso with initrd and mount it

I'm looking for a way I can add files to linux live iso that I've built and somehow load them to memory after or before initrd loads and then mount them as tmpfs, Anyone know how to do that? Thanks.
0
votes
0answers
581 views

How to disable tmpfs on /media in openSUSE?

In OS 11.4 /media is a regular directory. Whatever I put there, it stays. In OS 12.1 /media is tmpfs. Whatever I put there, on next restart is gone. The question is -- how to get rid of tmpfs on /...