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