Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not like how tmpfs behaves with swap and will allow memory to be exhausted before using the swap on physical disk (yes swappiness can be adjusted but it's still affecting the rest of the OS by exhausting resources).

Instead I would like to create a dynamic ramdisk with a defined upper limit that is then extended into a physical drive via the concept of a logical volume.

ie. /tmphybrid = 0-512mb ram + 0-2048mb harddrive

Possible? Possible with ramdisk being dynamic and not completely allocated to start with?

share|improve this question
How precisely would this differ from just using a HDD and letting the OS cache things? (The only thing I can think of is preloading the RAM drive with files). – Hennes Jan 8 '13 at 16:13
This question has already been answered.… – Josh Campbell Jan 8 '13 at 17:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.