On 18:09:37 Mar 27, Uwe Dippel wrote: > I don't know if this makes a lot of sense or any, but I was thinking that > flash memory doesn't like too many writes. So I was thinking of creating > one or two RAMdisks, for all those temporary reads and writes that I need, > and only store the final result on the flash. > The whole system will run from flash, true, but the directory with plenty > of writes and processing should run in RAM. So I'd like to create a drive > in RAM and then mount this drive as for the busy directory. > > Does this make sense? If yes, how to do it? > You need memory file systems for that.
It is very easy under OpenBSD. man mount_mfs You have examples in Andreas Bihlmaier's liveCD writeup here. http://openbsd-wiki.org/index.php?title=LiveCD You typically have to create a tar zip of the mount file system and untar it in the RAM disk and you are set. It is a good idea to mount /tmp and /var on RAM disks. -Girish

