Quote:
Originally Posted by syg00
Nope.
Have a read of this.
|
Yeah, I read that, too. I think you misunderstood me. I'm not saying tmpfs won't use swap, I'm saying that if there are no swap partitions mounted, tmpfs will not magically make them come into being (i think anyway!). Of course it will use them if they're there (if it really needs to, as you pointed out).
but if the OP doesn't want to disable swap, then that doesn't matter. however, the OP does not mention why he wishes not to swap. if it is for security reasons, then encrypting swap is always another layer of protection.
also, as to the original question: I believe there is work going on to
patch the kernel to support the use of user quotas (like
disk space usage) on tmpfs, but it is not a clean solution (yet).