Memory file system 1. General notes While ramfs is pretty fast, it's not optimal since it's sin- gle threaded. By default it has a maximum size limit of 768MB, if you need more, pass -p flag. It also can end up filling your memory very quickly. be careful. 2. using ramfs instead of /tmp by default To use ramfs by default for /tmp, replace these two lines in $home/lib/profile: if(! syscall create /tmp/xxx 1 0666 >[2]/dev/null) ramfs # in case we're running off a cd With these lines: ramfs bind /tmp /usr/$user/tmp a use case would be if you don't want to use disk. November 23, 2024