tmpfs, per tenir /tmp a la memòria virtual
No hi havia pensat mai, però veig que la majoria d'Unix (SunOS/Solaris, Linux i BSD) ja fa anys que tenen implementat un sistema de fitxers que permet tenir /tmp en memòria virtual.
En Linux és ben simple:
Usage of tmpfs for example is "mount –t tmpfs –o size=1G,nr_inodes=10k,mode=0700 tmpfs /space" which will allow up to 1 GiB in RAM/swap with 10240 inodes and only accessible by the owner of the directory /space. The filesystem's maximum size can also be changed on-the-fly, like "mount –o remount,size=2G /space".
Entrades aleatòries
Carregant…

