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.
0-512mb ram +
Possible? Possible with ramdisk being dynamic and not completely allocated to start with?