All Questions
2
questions
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 ...
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 ...