Skip to main content

All Questions

Tagged with
4 votes
1 answer
1k views

How to read tmpfs as a block device in linux?

A typical linux machine mounts a tmpfs to store temporary files: $ df Filesystem Size Used Avail Use% Mounted on /dev/sda1 953M 702M 203M 78% / tmpfs 1.5G ...
Duke Nukem's user avatar
  • 1,235
2 votes
0 answers
465 views

Prevent filesystem caching on tmpfs

Suppose that I want to put a big file (or a bunch of files) into a TMPFS, for whatever reason. Using dd with various combinations of direct and nocache flags, whether I copy a file from disk or create ...
Mona the Monad's user avatar